generete_state_numbers: Generate bout numbers for binary variable

View source: R/generate_state_numbers.R

generete_state_numbersR Documentation

Generate bout numbers for binary variable

Description

Generate bout numbers for binary variable

Usage

generete_state_numbers(data, var, .keep = FALSE)

Arguments

data

Data frame

var

Variable name (in quotes)

.keep

Keep both intermediate filter components (forward/backward)

Value

Data frame with classifications


roaldarbol/sleepr documentation built on May 9, 2024, 11:30 p.m.