compute_NonacsB: Compute the binomial skew index of Nonacs

Description Usage Arguments Value References See Also Examples

View source: R/Nonacs.R

Description

This function computes Nonacs' binomial skew index (B). Nonacs defines it as an index “based on the observed variance in a group corrected by the expected variance if each member had an equal probability of gaining any given group benefit or reproductive opportunity.”

Usage

1

Arguments

benef

The vector of benefits (i.e. mating or reproductive success).

time

The vector of time-in (i.e. the time each individual spent in the group).

Value

The observed Nonacs' binomial skew index value.

References

Nonacs, P. (2000). Measuring and using skew in the study of social behavior and evolution. The American Naturalist, 156(6), 577-589.

See Also

test_NonacsB

Examples

1
compute_NonacsB(benef = c(1, 1, 5), time = c(1, 1, 1))

courtiol/matingRhinos documentation built on Nov. 22, 2019, 11:10 p.m.