msSmoothLoess {msProcess}R Documentation

Fit a Smooth Curve Using Loess

Description

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.

Usage

msSmoothLoess(x, y, span=0.1, degree=1, family="symmetric",
    index=rep(TRUE, length(x)), process="msSmoothLoess")

Arguments

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.

Value

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

See Also

msSmoothApprox, msSmoothKsmooth, msSmoothMean, msSmoothMonotone, msSmoothSpline, msSmoothSupsmu.


[Package msProcess version 1.0.5 Index]