shifts_to_samples: Transform shifts data frame to samples data frame

Description Usage Arguments Details Value Examples

View source: R/list_misc.R

Description

shifts_to_samples transforms shifts data frame to samples data frame.

Usage

1

Arguments

shifts

shifts data frame

Details

Transforms shifts data frame to samples data frame. Shifts data frame should contain

Samples data frame contains the same columns as shifts data frame plus three: T_start, T_end, sample_name.

Value

samples data frame.

Examples

1
2
3
shifts <- tibble::tribble(~shift_name, ~shift_T_start, ~win_expanding,
    ~win_start_length, ~n_shifts, "moving_120", 13, FALSE, 120, 2)
shifts_to_samples(shifts)

bdemeshev/torro documentation built on May 21, 2019, 8:36 a.m.