Learn R Programming

steepness (version 0.1)

getDij: Dyadic dominance index corrected for chance -Dij-

Description

Function to obtain matrix of dyadic dominance indices corrected for chance by means of the observed sociomatrix.

Usage

getDij(X)

Arguments

X
Original sociomatrix.

Value

  • DijMatrix of observed dyadic dominance indices corrected for chance.

Details

getDij is only applied for square matrices in which the set of n actors is also the set of n partners.

References

de Vries, H., Stevens, J. M. G., & Vervaecke, H. (2006). Measuring and testing the steepness of dominance hierarchies. Animal Behaviour, 71, 585-592.

See Also

steeptest.

Examples

Run this code
X <- matrix(c(0, 1, 2, 1, 0, 1, 3, 1, 0),nrow=3,byrow=TRUE)

Run the code above in your browser using DataLab