Learn R Programming

vstdct (version 0.2)

DR.basis: Periodic Demmler-Reinsch Basis

Description

Calculates the periodic Demmler-Reinsch basisfor a given smoothness and a given vector of grid points. For details see (Schwarz, Krivobokova; 2016).

Usage

DR.basis(x, n, q)

Value

mxn dimensional matrix with the n DR basis functions evaluated at grid points x

Arguments

x

m-dim. vector with grid values in [0,1]

n

dimension of the basis

q

penalization order, q=1,2,3,4 are available

Examples

Run this code
DR.basis(seq(1,10)/10,5,2)

Run the code above in your browser using DataLab