sim_slcm {ohoegdm} | R Documentation |
Simulate Ordinal Item Data from a Sparse Latent Class Model
Description
Simulate Ordinal Item Data from a Sparse Latent Class Model
Usage
sim_slcm(N, J, M, nClass, CLASS, Atable, BETA, KAPPA)
Arguments
N |
Number of Observations |
J |
Number of Items |
M |
Number of Item Categories (2, 3, ..., M) |
nClass |
Number of Latent Classes |
CLASS |
A vector of |
Atable |
A matrix of dimensions |
BETA |
A matrix of dimensions |
KAPPA |
A matrix of dimensions |
Value
An ordinal item matrix of dimensions N \times J
with M
response levels.
See Also
[Package ohoegdm version 0.1.0 Index]