Learn R Programming

scan (version 0.56)

select_phases: Select and combine phases for overlap analyses

Description

Useful when working with

Usage

select_phases(data, A, B)

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

Examples

Run this code
exampleA1B1A2B2_zvt %>% 
  select_phases(A = c(1, 3), B = c(2, 4)) %>%
  overlap()

Run the code above in your browser using DataLab