rmultinom | R Documentation |
Overrides stats::rmultinom, reformatting its output. Specifically, the output of stats:rmultinom is transpased, so that the returned value is a matrix in which each row (rather than column) corresponds to one observation and each column (rather than row) corresponds to one of the categorical outcomes. Each cell represents the counts observed for each outcomes on that observation.
rmultinom(n, size, prob)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.