blcInitializeSplitEigen function

Initialize Gaussian Latent Class via Eigendecomposition

Initialize Gaussian Latent Class via Eigendecomposition

Creates a function for initializing latent class model based on Eigendecomposition

blcInitializeSplitEigen(eigendim = 1, assignmentf = function(s) (rank(s) - 0.5)/length(s))

Arguments

  • eigendim: How many eigenvalues to use
  • assignmentf: assignment function for transforming eigenvector to weight

Details

Creates a function f(x) that will take a data matrix x and initialize a weight matrix for a two-class latent class model. Here, the initialized classes will be based on eigendecomposition of the variance of x. See blcTree for example of using blcSplitCriterion... to control split.

Returns

A function f(x) (see Details.)

See Also

blcInitializeSplitDichotomizeUsingMean, glcInitializeSplitFanny, glcInitializeSplitHClust

  • Maintainer: E. Andres Houseman
  • License: GPL (>= 2)
  • Last published: 2017-02-28

Useful links