spreg | R Documentation |
spline regression
spreg( x, y, x.eval, minimum.num.obs = 4, basis = c("fourier", "bspline"), rangeval = c(min(x.eval) - 1, max(x.eval)), nbasis = 11, ... )
x |
independent variable |
y |
response variable |
x.eval |
vector to predict on |
minimum.num.obs |
minimum number of observations needed to run the regression |
basis |
what basis to use, "fourier" and "bspline" are available |
rangeval |
see |
nbasis |
see |
... |
arguments 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.