assoc.indices: Association indices

Description Usage Arguments Value Author(s) References Examples

View source: R/assoc.indices.R

Description

Compute several association indices.

Usage

1
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

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

SebastianSosa/ant documentation built on Dec. 5, 2018, 2:24 a.m.