select_phases: Select and combine phases for overlap analyses
Description
Useful when working with pipe operators.
Usage
select_phases(data, A, B, phase_names = "auto")
Value
An scdf with selected phases
Arguments
data
A single-case data frame. See scdf() to learn about this
format.
A
Selection of the A phase
B
Selection of the B phase
phase_names
A character vector with names for the resulting phases.
The default "auto" generates phase names from the combination of the names
of the recombined phases.