msSmoothKsmooth {msProcess}R Documentation

Fit a Smooth Curve Using Kernel Smoothers

Description

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.

Usage

msSmoothKsmooth(x, y, kernel="box", bandwidth=100, process="msSmoothKsmooth")

Arguments

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

Value

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

See Also

msSmoothApprox, msSmoothLoess, msSmoothMean, msSmoothMonotone, msSmoothSpline, msSmoothSupsmu.


[Package msProcess version 1.0.5 Index]