Learn R Programming

steepness (version 0.1)

getDS: David's scores based on Dij -DS-

Description

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

Usage

getDS(X)

Arguments

X
Original sociomatrix.

Value

  • DSDavid's scores based on dyadic dominance indices.

Details

getDS is obtained by means of the following expression: $DS = w1 + w2 - l1 - l2$ where w1 is the sum of i's dyadic dominance indices corrected for chance; w2 is the weighted sum of i`s dyadic dominance indices corrected for chance; l1 is the sum of j's dyadic dominance indices and l2 is the sum of j's dyadic dominance indices corrected for chance.

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, getw1, getw2, getl1, getl2.

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