ssmatls: The smoothing spline matrix

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/ssmatls.R

Description

This function returns the smoothing matrix based on cubic smoothing spline method

Usage

1

Arguments

n

the number of (equally spaced) grid

Details

This function is based on Green and Silverman (1994) smoothing spline technique

Value

A smoothing matrix based on smoothing spline method

Author(s)

Lingsong Zhang ([email protected]) Chao Pan ([email protected])

References

Green, P. J., & Silverman, B. W. (1994). Nonparametric regression and generalized linear models: a roughness penalty approach (pp. 12-27). London: Chapman & Hall.

See Also

See Also as smooth.spline

Examples

1
2
3
4
5
#set the number of grid
n<-100

#calculate the smoothing matrix
g<-ssmatls(n)

RobRSVD documentation built on May 30, 2017, 12:46 a.m.