ncs function

The natural cubic spline interpolation

The natural cubic spline interpolation

This function performs the natural cubic spline interpolation of a design matrix.

ncs(x)

Arguments

  • x: The design matrix.

Returns

  • cf0: The coefficient matrix for B-splines obtained by natural cubic spline interpolation of x.

Details

Usually only called by srp.c and srp.l.

Examples

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

See Also

srp.c, srp.l

Author(s)

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

  • Maintainer: Hyeyoung Maeng
  • License: GPL
  • Last published: 2019-04-24

Useful links