msSmoothMean: Fit a Smooth Curve Using Moving Average

Description Usage Arguments Value See Also

Description

Fits a smooth curve to a vector using moving average and returns a vector of fitted smooth curve values evaluated at the original locations.

Usage

1
msSmoothMean(y, half.span=250, process="msSmoothMean")

Arguments

y

A numeric vector.

half.span

A numeric value denoting half of the window width when performing average. Default: 250.

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: "msSmoothMean".

Value

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

See Also

msSmoothApprox, msSmoothKsmooth, msSmoothLoess, msSmoothMonotone, msSmoothSpline, msSmoothSupsmu.


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