bCounter: A function that counts bouts within a vector

Description Usage Arguments Value Examples

View source: R/bCounter.R

Description

A function that counts bouts within a vector

Usage

1

Arguments

x

Numeric vector

Value

Numeric vector with counted bouts

Examples

1
2
3
4
5
x = c(rep(1, 5), rep(0, 2), rep(1, 4), rep(0, 2))
bCounter(x)

data.frame(x = x,
           bout = bCounter(x))

mpio-be/windR documentation built on Feb. 2, 2020, 10:04 a.m.