givenBasis: Use given basis functions for univariate representation

Description Usage Arguments Value

View source: R/univDecomp.R

Description

Use given basis functions for univariate representation

Usage

1
givenBasis(funDataObject, functions, scores = NULL, ortho = NULL)

Arguments

funDataObject

An object of class funData containing the observed functional data samples and for which the basis representation is to be calculated.

functions

A funData object that contains the basis functions.

scores

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. If not supplied, the scores are calculated as projection of each observation on the basis functions.

ortho

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.

Value

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.

@keywords internal


MFPCA documentation built on May 2, 2019, 2:49 p.m.