Mainly intended to demonstrate the use of basis expansion models for sparse additive modeling; intended for use with expand_spline()
.
Arguments
- n
Sample size (numeric; default = 100).
- p
Number of features (numeric; default = 16).
- seed
Set to get different random data sets, passed to
set.seed()