msSmoothSupsmu {msProcess}R Documentation

Fit a Smooth Curve Using Super Smoother

Description

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.

Usage

msSmoothSupsmu(x, y, span="cv", periodic=FALSE, bass=0,
    index=rep(TRUE, length(x)), process="msSmoothSupsmu")

Arguments

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.

Value

A vector of fitted smooth curve values evaluated at the original locations.

See Also

msSmoothApprox, msSmoothKsmooth, msSmoothLoess, msSmoothMean, msSmoothMonotone, msSmoothSpline.


[Package msProcess version 1.0.5 Index]