getimplandau: Improved Landau's Linearity Index -h'-

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

Description

Function to obtain improved Landau's h' index for quantifying the degree of linearity in social dominance hierarchies proposed by de Vries (1995).

Usage

1

Arguments

X

Original sociomatrix.

Details

getimplandau computes improved Landau's h' index in dominance hierarchies containing unknown or tied relationships. The index proposed by de Vries (1995) can be computed as follows:

h' = h + {6 \over {N^3-N}} \times u,

where h is Landau's index and u is the number of unknown dyads.

Value

improvedlandauh

Improved 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

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

See Also

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

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