| msSmoothKsmooth {msProcess} | R Documentation |
Fits a smooth curve to a set of data points using kernel smoothers and returns a vector of fitted smooth curve values evaluated at the original locations.
msSmoothKsmooth(x, y, kernel="box", bandwidth=100, process="msSmoothKsmooth")
x |
A numeric vector of abscissa values. |
y |
A numeric vector of ordinate values,
which must be of the same length as x. |
kernel, bandwidth |
See fucntion ksmooth for descriptions. |
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: "msSmoothKsmooth". |
A numeric vector of fitted smooth curve values evaluated at the original locations.
msSmoothApprox, msSmoothLoess, msSmoothMean, msSmoothMonotone, msSmoothSpline, msSmoothSupsmu.