Learn R Programming

steepness (version 0.1)

getNormDS: Normalized David's scores based on Dij -NormDS-

Description

Function to obtain normalized David's scores based on dyadic dominance indices by means of the observed sociomatrix.

Usage

getNormDS(X)

Arguments

X
Original sociomatrix.

Value

  • NormDSNormalized David's scores based on dyadic dominance indices corrected for chance.

Details

getNormDS is obtained by means of the following expression: $NormDS = (DS + N(N-1)/2)/N$

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

getDij, getDS.

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