Description Usage Arguments Value See Also
View source: R/univariateExpansions.R
Given scores (coefficients), this function calculates a linear combination of spline basis functions on onedimensional domains based on the gam function in the mgcv package.
1  splineFunction1D(scores, argvals, bs, m, k)

scores 
A matrix of dimension 
argvals 
A list containing a vector of xvalues, on which the functions should be defined. 
bs 
A character string, specifying the type of basis functions to be
used. Please refer to 
m 
A numeric, the order of the spline basis. See 
k 
A numeric, the number of basis functions used. See

An object of class funData
with N
observations on
argvals
, corresponding to the linear combination of spline basis
functions.
univExpansion
, gam
,
splineBasis1D
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.