beR Behavioural Ecology tools in R function list 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