Skip to contents

Convert a sequence of timesteps into a sequence of transition names

Usage

as_transitions(timesteps, bf)

Arguments

timesteps

A valid sequence of timesteps. See lookup_timestep_sequence().

bf

A BirdFlowR model, used to determine how much padding is needed around the timesteps.

Value

A directional sequence of transitions that connect timesteps.

Examples

# \donttest{
bf <- BirdFlowExamples::amewoo
as_transitions(1:3, bf)
#> [1] "T_01-02" "T_02-03"
# }