Behavioural Ecology tools in R
pairing_status()
assigns change in pairing status (divorcees, widowed or re-united)bCounter()
counts independent bouts. bCounter(c('a', 'a', 'a', 2, 3,3, NA, 5))
returns 1 1 1 2 3 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.