The natural cubic spline interpolation
This function performs the natural cubic spline interpolation of a design matrix.
ncs(x)
x
: The design matrix.x
.Usually only called by srp.c
and srp.l
.
x <- matrix(rnorm(100), ncol=10) ncs(x)$cf0
srp.c
, srp.l
Hyeyoung Maeng, h.maeng@lse.ac.uk
Useful links