Creates a function for initializing latent class model based on Eigendecomposition
How many eigenvalues to use
assignment function for transforming eigenvector to weight
Creates a function
f(x) that will take a data matrix
initialize a weight matrix for a two-class latent class model.
Here, the initialized classes will be based on eigendecomposition of the variance of
glcTree for example of using “glcInitializeSplit...” to create starting values.
f(x) (see Details.)