transitivity {EloRating} | R Documentation |
triangle transitivity
transitivity(m, runs = 2000, returnfig = FALSE)
m |
square dominance matrix |
runs |
numeric, the number of runs for the randomization test |
returnfig |
logical, should a figure be produced that shows the distribution of expectation |
a named vector of length four
Shizuka D, McDonald DB (2012). “A social network perspective on measurements of dominance hierarchies.” Animal Behaviour, 83, 925-934. doi:10.1016/j.anbehav.2012.01.011.
https://shizukalab.com/r/triangle-transitivity-in-dominance-hierarchies-directed-graphs/
data(bonobos)
transitivity(bonobos)