smooth_spline | R Documentation |
Smoothing spline regression
smooth_spline(x, y, x.eval = x, minimum.num.obs = 4, ...)
x |
independent variable |
y |
response variable |
x.eval |
vector to predict on |
minimum.num.obs |
minimum number of observations needed to run the regression |
... |
other parameters to be passed to |
predicted values at 'x.eval'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.