Use a basis from package fda for univariate representation
Use a basis from package fda for univariate representation
This function allows to use univariate basis representations from the fda package using the funData2fd function from package funData.
fdaBasis(funDataObject,...)
Arguments
funDataObject: An object of class funData
containing the observed functional data samples and for which the basis representation is to be calculated.
...: Other parameters passed to funData2fd.
Returns
scores: The coefficient matrix. - B: A matrix containing the scalar product of all pairs of basis functions. This is NULL, if ortho = TRUE.- ortho: Logical, set to TRUE, if basis functions are orthonormal. - functions: A functional data object containing the basis functions.
Warning
The package fda has be be installed to use this functionality.