Description Usage Arguments Examples
Plot ranks of individuals in a single social group over multiple study periods.
1 | plot_ranks(ranks, type = c("rank", "stan.rank", "score"))
|
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. |
1 2 3 4 5 6 7 | 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')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.