Description Usage Arguments Details Value Author(s) See Also Examples
Creates correlated multivariate ordinal random variables by a Monte Carlo simulation.
1 | rmvord_mc(n = 1, probs, Cor)
|
n |
Number of Observations |
probs |
List of probabilities for the variables, length of probability equals number of items, length of list equals number of variables |
Cor |
Correlation matrix |
Ordinal values are produced by shifting the variables until correlation structure is reached.
Returns n
observations with given marginal probabilities
probs
and correlation structure Cor
.
Dominik Traeger and Sebastian Kaiser
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.