Inferring Longitudinal Dominance Hierarchies.
DynaRankR
Overview
This package provides functions for inferring longitudinal dominance hierarchies, which describe dominance relationships and their dynamics in a single latent hierarchy over time. The package includes functions to implement the multiple ranking methods and associated support functions.
informed_matreorder
Implements Informed MatReorder methodinformed_elo
Implements Informed Elo-rating methodinformed_ds
Implements Informed David's Score methodget_dynamics
Calculates dynamics for a longitudinal hierarchyplot_ranks
Visualize longitudinal hierarchydyadic_similarity
Compare two rank ordersget_edgelist
Convert data from matrix to edgelistedgelist_to_matrix
Convert data from edgelist to matrixC.crocuta.female
Example data from female spotted hyenasC.crocuta.male
Example data from male spotted hyenas
Usage
data(C.crocuta.female)
informed_matreorder(contestants = C.crocuta.female$contestants, convention = 'mri', n = 5, shuffles = 10, require.corroboration = TRUE, initial.ranks = C.crocuta.female$initial.ranks, interactions = C.crocuta.female$interactions)