transitivity {EloRating}R Documentation

triangle transitivity

Description

triangle transitivity

Usage

transitivity(m, runs = 2000, returnfig = FALSE)

Arguments

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

Value

a named vector of length four

References

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/

Examples

data(bonobos)
transitivity(bonobos)

[Package EloRating version 0.46.18 Index]