Learn R Programming

EloRating (version 0.46.11)

transitivity: triangle transitivity

Description

triangle transitivity

Usage

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

Value

a named vector of length four

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

References

shizuka2012EloRating

http://www.shizukalab.com/toolkits/sna/triangle-transitivity

Examples

Run this code
data(bonobos)
transitivity(bonobos)

Run the code above in your browser using DataLab