generate.cate.list | R Documentation |
Generate an (NxJ) categorical data matrix given by prop.J.list and true cluster allocation.
generate.cate.list(N = N, prop.list = prop.list)
N |
The number of observations. |
prop.list |
a list length J, each of which is a vector of length qj giving the proportion for each categories. |
an (NxJ) categorical data matrix.