extract.fd: Extract curve estimates to be clustered

Description Usage Arguments Value Author(s) See Also Examples

Description

Given a massively parallel smoothing object created by semipar.mp, this function extracts an object of class "fd" representing the curves that one wishes to cluster using funkmeans.

Usage

1
extract.fd(obj, term = 1, intercept = (term == 1))

Arguments

obj

object created by semipar.mp.

term

which smooth term to extract (useful if the fitted model includes more than one term).

intercept

logical; if TRUE, intercept will be added to all coefficients. For simple nonparametric regression this should be done to recover the fitted values.

Value

an object of class "fd" representing the fitted curves, which can be clustered by funkmeans.

Author(s)

Ruixin Tan

See Also

semipar.mp, funkmeans

Examples

1
# see example for plot.funkmeans

vows documentation built on May 2, 2019, 9:26 a.m.