Description Usage Arguments Value
View source: R/generate.multinomial.R
This function takes a numeric vector corresponding to observed ordinal values of a random variable, and a second vector specifying the ordered levels of y. This is not intended to be used independently.
1 | generate.multinomial(y, y.levels)
|
y |
A vector of containing the values of an ordinal outcome variable. |
y.levels |
A vector of the unique, ordinal levels of y. |
A matrix where the rows correspond to subjects and the columns correspond to levels of the outcome.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.