Internal function within
pca_full that initialises
most model parameters. WARNING: does not initialise all parameters by itself
correctly (since this depends on context) and so care should be taken when
using as a standalone function.
Random initialisations are set for the loadings and scores matrices.
The mean vector is initialised to
c() and set outside this function.
Diagonal matrices are set for the elements of
is initialised to 1 and
Muv is initialised to a vector of 1s.
list of length 7:
matrix – initialised loadings matrix with observed variables
in rows and latent variables in columns.
matrix – initialised factor scores matrix with latent variables
in rows and observations in columns.
numeric – initialised mean vector.
numeric – scalar value corresponding to the initialised
variance of the error parameter.
array – initialised covariance matrices of the rows of A.
array – initialised covariance matrices of the rows of S.
numeric – the initialisation of the prior variance of Mu.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.