assoc.indices: Association indices

View source: R/assoc.indices.R

assoc.indicesR 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

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

  • 'sqri' 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')

SebastianSosa/ant documentation built on Sept. 23, 2023, 7:06 a.m.