Use given basis functions for univariate representation
givenBasis(funDataObject, functions, scores = NULL, ortho = NULL)
The coefficient matrix.
A matrix containing
the scalar product of all pairs of basis functions. This is NULL
, if
ortho = TRUE
.
Logical, set to TRUE
, if basis
functions are orthonormal.
A functional data object containing the basis functions.
An object of class funData
containing the observed functional data samples and for which the basis
representation is to be calculated. The data is assumed to be demeaned.
A funData
object that contains the basis functions.
An optional matrix containing the scores or coefficients of the
individual observations and each basis function. If N
denotes the
number of observations and K
denotes the number of basis functions,
then scores
must be a matrix of dimensions N x K
. As the data
is assumed to be demeaned, each column must have an average of
approximately 0. If not supplied, the scores are calculated as projection
of each observation on the basis functions.
An optional parameter, specifying whether the given basis
functions are orthonormal (ortho = TRUE
) or not (ortho =
FALSE
). If not supplied, the basis functions are considered as
non-orthonormal and their pairwise scalar product is calculated for later
use in the MFPCA.