get_class | R Documentation |
Obtain ordinal results based on log-odds (eta) and cut-offs (gamma) from MCMC Internal function to obtain ordinal results based on log-odds (eta) and cut-offs (gamma) from MCMC.
get_class(MCMC, impvar, eta_name, rev = FALSE, seed = NULL)
MCMC |
an matrix of MCMC samples. |
impvar |
a name of imputation variable. |
eta_name |
a name of eta in mcmc samples |
rev |
logical. Reverse order or not. |
seed |
optional. A seed value for randomness. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.