Description Usage Arguments Details Value Author(s) References Examples
Calculates the simple ratio index
1 | SRI(x, Ya, Yb, Yab)
|
x |
Number of times individuals a and b were observed together |
Ya |
Number of times individual a was observed without b |
Yb |
Number of times individual b was observed without a |
Yab |
Number of times individuals a and b were observed at the same time but not associating |
The simple ratio index calculates the probability that two individuals are observed together given that one has been seen. This index is widely used in animal social network analysis.
Returns two elements: the estimated association strength and the standard error of the estimate.
William Hoppitt <W.J.E.Hoppitt@leeds.ac.uk> Damien Farine <dfarine@orn.mpg.de>
Hoppitt, W. & Farine, D.R. (in prep) Association indices for quantifying social relationships: how to deal with missing observations of individuals or groups.
1 2 3 4 5 6 7 |
# Simulated values (all = 10)
x <- ya <- yb <- yab <- 10
# Calculate simple ratio index
SRI(x,ya,yb,yab)
|
[1] 0.25000000 0.06846532
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.