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

Author(s)

Hyeyoung Maeng, h.maeng@lse.ac.uk

See Also

srp.c, srp.l

Examples

x <- matrix(rnorm(100), ncol=10)
ncs(x)$cf0

[Package srp version 1.2.0 Index]