transitivity: triangle transitivity

View source: R/transitivity.R

transitivityR 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

\insertRef

shizuka2012EloRating

https://shizukalab.com/r/triangle-transitivity-in-dominance-hierarchies-directed-graphs/

Examples

data(bonobos)
transitivity(bonobos)

gobbios/EloRating documentation built on July 19, 2024, 4:05 a.m.