rank_summaries {PLMIX} | R Documentation |
Descriptive summaries for a partial ordering/ranking dataset
Description
Compute rank summaries and censoring patterns for a partial ordering/ranking dataset.
Usage
rank_summaries(data, format_input, mean_rank = TRUE, marginals = TRUE,
pc = TRUE)
Arguments
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 |
Value
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 |
Author(s)
Cristina Mollica and Luca Tardella
References
Marden, J. I. (1995). Analyzing and modeling rank data. Monographs on Statistics and Applied Probability (64). Chapman & Hall, ISSN: 0-412-99521-2. London.
Examples
data(d_carconf)
rank_summaries(data=d_carconf, format_input="ordering")