ncs {srp} | R Documentation |
The natural cubic spline interpolation
Description
This function performs the natural cubic spline interpolation of a design matrix.
Usage
ncs(x)
Arguments
x |
The design matrix. |
Details
Usually only called by srp.c
and srp.l
.
Value
cf0 |
The coefficient matrix for B-splines obtained by natural cubic spline interpolation of |
Author(s)
Hyeyoung Maeng, h.maeng@lse.ac.uk
See Also
Examples
x <- matrix(rnorm(100), ncol=10)
ncs(x)$cf0
[Package srp version 1.2.0 Index]