Description Usage Arguments Examples
View source: R/rmdsmooth.spline.R
Perform the fit to a cubic smoothing spline and the prediction of the smoothed curved in a single step.
1 | rmdsmooth.spline(x, y = NULL, nx, ...)
|
x |
a vector of a two column matrix for smooth.spline() |
y |
needed only if x is a vector (default NULL) |
nx |
number of x points for the smoothed curve, supplied to predict() |
... |
additional arguments passed to smooth.spline |
1 2 | x<-read.table("data")
plot(rmdsmooth.spline(x, 80))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.