getlandau: Landau's Linearity Index -h-

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Function to obtain Landau's h index for quantifying linearity in social dominance hierarchies.

Usage

1

Arguments

X

Original sociomatrix.

Details

getlandau computes Landau's h index (1951) for quantifying the degree of linearity in social dominance hierarchies. The linearity index is defined as:

h = {12 \over {N^3-N}} ∑\limits_{i = 1}^N {≤ft(V_i-{{N-1} \over 2} \right)^2},

where V_i is the number of individuals dominated by the individual i. The elements V_i of the vector V is just the row sum of matrix of abilities, which is computed by the function called freq2abil.

Value

landauh

Landau's index h.

Author(s)

David Leiva <dleivaur@ub.edu>, Antonio Solanas <antonio.solanas@ub.edu>, Han de Vries <J.deVries1@uu.nl>, & David A. Kenny <david.kenny@uconn.edu>.

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.

See Also

freq2abil, getexpech, getimplandau, getvarh, linear.hierarchy.test.

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
  getlandau(X)

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