msSmoothSupsmu: Fit a Smooth Curve Using Super Smoother

Description Usage Arguments Value See Also

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

1
2
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.


zeehio/msProcess documentation built on May 4, 2019, 10:15 p.m.