Description Usage Arguments Details Value
View source: R/helper_functions.R
Compute initial values for the factors and loadings curves, where the input matrix may have NAs.
1 |
Y |
the |
tau |
the |
K |
the number of factors; if |
use_pace |
logical; if TRUE, use the PACE procedure for FPCA (only for |
The PACE procedure is useful for estimated a reduced-rank functional data model
in the case of sparsely-observed FD, i.e., many NAs in Y. However,
it is also only valid for univariate observation points
a list containing
Beta the T x K matrix of factors
Psi the J x K matrix of loading curve basis coefficients,
where J is the number of spline basis functions
splineInfo a list with information about the spline basis
Y0 the imputed data matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.