lcm_by_group: estimate latent class models by pre-specified groups of...

View source: R/fit.R

lcm_by_groupR Documentation

estimate latent class models by pre-specified groups of observations, e.g., the ones obtained from the tree-shrunk LCM.

Description

estimate latent class models by pre-specified groups of observations, e.g., the ones obtained from the tree-shrunk LCM.

Usage

lcm_by_group(Y, leaf_ids, members_list, K, ci_level, ...)

Arguments

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 BayesLCA::blca()


zhenkewu/lotR documentation built on April 24, 2022, 2:36 a.m.