plot_ranks {DynaRankR} | R Documentation |
Plot individual ranks or scores
Description
Plot ranks of individuals in a single social group over multiple study periods.
Usage
plot_ranks(ranks, type = c("rank", "stan.rank", "score"))
Arguments
ranks |
A dataframe of ranks. There should be one row per contestant per study period. Must include at least the following columns:
|
type |
A character string, either 'score', 'rank', or 'stan.rank'. Determines whether scores, ranks, or standardized ranks are plotted. |
Examples
female.ranks <- informed_elo(contestants = C.crocuta.female$contestants, convention = 'mri',
initial.ranks = C.crocuta.female$initial.ranks,
interactions = C.crocuta.female$interactions)
plot_ranks(female.ranks, type = 'rank')
plot_ranks(female.ranks, type = 'score')
plot_ranks(female.ranks, type = 'stan.rank')
[Package DynaRankR version 1.1.0 Index]