glcInitializeSplitEigen: Initialize Gaussian Latent Class via Eigendecomposition

Description Usage Arguments Details Value See Also

View source: R/gaussRPMM.R

Description

Creates a function for initializing latent class model based on Eigendecomposition

Usage

1
2
glcInitializeSplitEigen(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 glcTree for example of using “glcInitializeSplit...” to create starting values.

Value

A function f(x) (see Details.)

See Also

glcInitializeSplitFanny, glcInitializeSplitHClust


RPMM documentation built on May 30, 2017, 6:26 a.m.

Search within the RPMM package
Search all R packages, documentation and source code