msSmoothLoess {msProcess} | R Documentation |
Fits a local regression model to a subset or set of data points and returns a vector of fitted smooth curve values evaluated at the original locations.
msSmoothLoess(x, y, span=0.1, degree=1, family="symmetric", index=rep(TRUE, length(x)), process="msSmoothLoess")
x |
A numeric vector of abscissa coordinates. |
y |
A numeric vector of ordinate coordinates,
which must be of the same length as x . |
index |
A logical vector of the same length as x ,
indicating the indices of x and y to use in fitting the data.
Default: 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: "msSmoothLoess" . |
span, degree, family |
See function loess.smooth for descriptions. |
A numeric vector of fitted smooth curve values evaluated at the original locations.
msSmoothApprox
, msSmoothKsmooth
, msSmoothMean
, msSmoothMonotone
, msSmoothSpline
, msSmoothSupsmu
.