h.index: linearity indices

View source: R/h.index.R

h.indexR Documentation

linearity indices

Description

linearity indices

Usage

h.index(interactionmatrix, loops = 1000)

Arguments

interactionmatrix

square interaction matrix with winner in rows and losers in columns, for example the output from creatematrix

loops

numeric, the number of randomizations to perform (by default: 1000)

Details

Note that the expected value of h can also be calculated as 3/(N+1).

Value

a data.frame with with values for the number of individuals in the matrix (N), linearity indices (h, h' and expected h), p-value, number of randomizations, and number of unknown and tied relationships.

Author(s)

Christof Neumann

References

\insertRef

appleby1983EloRating

\insertRef

devries1995EloRating

Examples

data(bonobos)
h.index(bonobos)


gobbios/EloRating2 documentation built on June 4, 2023, 2:36 p.m.