lcm_by_group | R Documentation |
estimate latent class models by pre-specified groups of observations, e.g., the ones obtained from the tree-shrunk LCM.
lcm_by_group(Y, leaf_ids, members_list, K, ci_level, ...)
Y |
data |
leaf_ids |
individual's leaf indicators in a vector |
members_list |
a list, of length G, which is the number of unique groups of leaves |
K |
the number of classes |
ci_level |
a probability to indicate the credible interval's level |
... |
other arguments for |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.