Learn R Programming

steepness (version 0.1)

getinterc: Intercept of the fitted line based on Dij -interc-

Description

Function to obtain intercept of the fitted line based on dyadic dominance indices by means of the observed sociomatrix.

Usage

getinterc(X)

Arguments

X
Original sociomatrix.

Value

  • getintercIntercept based on dyadic dominance indices corrected for chance.

Details

getinterc is the intercept of the best-fitted line between the normalized David's scores and the rank dominance in a decreasing order. The regression is obtained by Ordinary Least Squares method.

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, getNormDS, getStp.

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