Learn R Programming

scan (version 0.53)

select_phases: Select and combine phases for overlap analyses

Description

Useful when working with

Usage

select_phases(data, A, B, ...)

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

...

Further arguments passed to the function.

Value

An scdf with selected phases

Examples

Run this code
# NOT RUN {
exampleA1B1A2B2 %>% 
  select_phases(A = c(1, 3), B = c(2, 4)) %>%
  overlap()
# }

Run the code above in your browser using DataLab