msSmoothSupsmu {msProcess} | R Documentation |
Fits a smooth curve to a subset or set of data points using a super smoother and returns a vector of fitted smooth curve values evaluated at the original locations.
msSmoothSupsmu(x, y, span="cv", periodic=FALSE, bass=0, index=rep(TRUE, length(x)), process="msSmoothSupsmu")
x |
A numeric vector of abscissa values. |
y |
A numeric vector of ordinate values,
which must be of the same length of x . |
index |
A logical vector of the same length of x
indicating the elements to be used in the fitting.
Deafult: rep(TRUE, length(x)) . |
process |
A character string denoting the name of the
process to register with the (embedded) event history object of the input
after processing the input data.
Default: "msSmoothSupsmu" . |
span, periodic, bass |
See function supsmu for descriptions. |
A vector of fitted smooth curve values evaluated at the original locations.
msSmoothApprox
, msSmoothKsmooth
, msSmoothLoess
, msSmoothMean
, msSmoothMonotone
, msSmoothSpline
.