View source: R/PLMIXfunctions.R
rank_summaries | R Documentation |
Compute rank summaries and censoring patterns for a partial ordering/ranking dataset.
rank_summaries(
data,
format_input,
mean_rank = TRUE,
marginals = TRUE,
pc = TRUE
)
data |
Numeric |
format_input |
Character string indicating the format of the |
mean_rank |
Logical: whether the mean rank vector has to be computed. Default is |
marginals |
Logical: whether the marginal rank distributions have to be computed. Default is |
pc |
Logical: whether the paired comparison matrix has to be computed. Default is |
A list of named objects:
nranked |
Numeric vector of length |
nranked_distr |
Frequency distribution of the |
na_or_not |
Numeric |
mean_rank |
Numeric vector of length |
marginals |
Numeric |
pc |
Numeric |
Cristina Mollica and Luca Tardella
Marden, J. I. (1995). Analyzing and modeling rank data. Monographs on Statistics and Applied Probability (64). Chapman & Hall, ISSN: 0-412-99521-2. London.
data(d_carconf)
rank_summaries(data=d_carconf, format_input="ordering")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.