Description Usage Arguments Value
The function transforms the standard normal variable to an ordinal variable with a specified probability for each category.
1 | ordinalize(pvec, z)
|
pvec |
A vector of probabilities for an ordinal variable. The i-th element of the |
z |
A vector of samples from the standard normal distribution. |
A vector of ordinalized variates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.