View source: R/gen_nonlinear_data.R
gen_nonlinear_data | R Documentation |
Mainly intended to demonstrate the use of basis expansion models for sparse additive modeling; intended for use with expand_spline()
.
gen_nonlinear_data(n = 100, p = 16, seed)
n |
Sample size (numeric; default = 100). |
p |
Number of features (numeric; default = 16). |
seed |
Set to get different random data sets, passed to |
Data <- gen_nonlinear_data()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.