Skip to contents

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