freq2abil: Transformation of a matrix of social interactions

Description Usage Arguments Details Value Author(s) References Examples

Description

Function to transform a sociomatrix into a matrix of dominance according.

Usage

1
   freq2abil(X,method=c("landau","matman","schmid"))

Arguments

X

Original sociomatrix.

method

String vector. 3 possible values: "landau", "matman", and "schmid".

Details

freq2abil transforms the matrix of agonistic interactions into dyadic dominance scores according to 3 possibilities:

- "landau": A matrix of -1s and 1s is obtained for submissive and dominant relationships, respectively. Null and tied dyads produce 0s in the matrix of dominance scores.

- "matman": A matrix of 1s and 0s is obtained for submissive and dominant relationships, respectively. Null and tied dyads produce 0.5s in the matrix of dominance scores.

- "schmid": A matrix of -1s and 1s is obtained for submissive and dominant relationships, respectively. Null and tied dyads respectively produce 0s and 0.5s in the matrix of dominance scores.

Value

V

Matrix of dyadic dominance relationships.

Author(s)

David Leiva dleivaur@ub.edu & Han de Vries J.deVries1@uu.nl.

References

Landau, H. G. (1951). On dominance relations and the structure of animal societies: I. Effect of inherent characteristics. Bulletin of Mathematical Biophysics, 13, 1-19.

Schmid, V. S., & de Vries, H. (2013). Finding a dominance order most consistent with a linear hierarchy: an improved algorithm for the I&SI method. Animal Behaviour, 86, 1097-1105.

de Vries, H. (1995). An improved test of linearity in dominance hierarchies containing unknown or tied relationships. Animal Behaviour, 50, 1375-1389.

Examples

1
2
3
4
  set.seed(123)
  X <- matrix(floor(runif(20*20,min=0,max=20)),nrow=20,byrow=TRUE)
  diag(X)<-0
  freq2abil(X)

DLEIVA/DyaDA documentation built on May 6, 2019, 1:17 p.m.