This function samples a parameter vector for a latent class model. Each row from each conditional distribution matrix is sampled from the uniform Dirichlet distribution.
A vector (r,...,r[m]) of integers, where m is the number of observed variables and r[i] is teh statespace of the i-th variable.
The number of latent classes fitted
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.