dci: Get the directional consistency index (DCI) of a sociomatrix.

Description Usage Arguments Value References Further details Examples

View source: R/dci.R

Description

Get the directional consistency index (DCI) of a sociomatrix.

Usage

1
dci(m)

Arguments

m

A matrix with individuals ordered identically in rows and columns.

Value

The directional consistency of m.

References

Van Hooff JARAM, Wensing JAB. 1987. Dominance and its behavioural measures in a captive wolf pack. In: Frank HW, editor. Man and Wolf. Dordrecht, Olanda (Netherlands): Junk Publishers pp.219-252.

Further details

The DCI represents the proportion of occurrences of a behavior that occurs across all dyads in a group from the individual within each dyad performing the behavior with a higher frequency (H) to the individual within each dyad performing the behavior with a lower frequency (L). It is calculated by averaging the following formula across all dyads: DCI = (H - L)/(H + L). The DCI ranges from 0 (no directional asymmetry) to 1 (completely unidirectional).

Examples

1
2
3
4
m <- matrix(c(NA,2,30,6,19,122,0,NA,18,
0,19,85,0,1,NA,3,8,84,0,0,0,NA,267,50,0,
0,0,5,NA,10,1,0,4,4,1,NA), ncol=6) #table 2, Vervaecke et al. 2000  - fleeing in bonobos
dci(m)

jalapic/compete documentation built on Feb. 23, 2020, 5:33 p.m.