View source: R/generate.cate.func.R
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.