initialize_randomLCM {ddtlcm} | R Documentation |
Provide a random initial response profile based on latent class mode
Description
Provide a random initial response profile based on latent class mode
Usage
initialize_randomLCM(K, data)
Arguments
K |
number of latent classes |
data |
a N by J observed binary matrix, where the i,j-th element is the response of item j for individual i |
Value
a K by J probability matrix, the k,j-th entry being the response probability to item j of an individual in class k
[Package ddtlcm version 0.2.1 Index]