assoc.indices {ANTs}R Documentation

Association indices

Description

Compute several association indices.

Usage

assoc.indices(gbi, index = "sri")

Arguments

gbi

a group by individual matrix.

index

a string indicating the association index to compute:

  • 'sri' for Simple ratio index: x/x+yAB+yA+yB

  • 'hw' for Half-weight index: x/x+yAB+1/2(yA+yB)

  • 'sr' for Square root index:x/sqr((x+yAB+yA)(x+yAB+yB))

Value

A square matrix of individual association indices.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez

References

Whitehead, H. A. L. (1997). Analysing animal social structure. Animal behaviour, 53(5), 1053-1067.

Examples

sim.gbi
assoc.indices(gbi=sim.gbi,index='sri')

[Package ANTs version 0.0.16 Index]