splineBasis1D | R Documentation |
These functions calculate a penalized or unpenalized spline basis decomposition for functional data on one-dimensional domains based on the gam function in the mgcv package.
splineBasis1D(funDataObject, bs = "ps", m = NA, k = -1) splineBasis1Dpen(funDataObject, bs = "ps", m = NA, k = -1, parallel = FALSE)
funDataObject |
An object of class |
bs |
A character string, specifying the type of basis functions to be
used. Defaults to |
m |
A numeric, the order of the spline basis. Defaults to |
k |
A numeric, the number of basis functions used. Defaults to
|
parallel |
Logical (only for |
scores |
A matrix of scores (coefficients) with dimension
|
B |
A matrix containing the scalar product of all pairs of basis functions. |
ortho |
Logical, set to |
functions |
|
settings |
A list with entries |
univDecomp
, gam
,
foreach
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.