Description Usage Arguments Details Value Examples
shifts_to_samples
transforms shifts data frame to samples data frame.
1 |
shifts |
shifts data frame |
Transforms shifts data frame to samples data frame. Shifts data frame should contain
shift_name name of the shift
win_expanding logical, TRUE for growing window, FALSE for moving window
shift_T_start first T of the first window
win_start_length length of the first window
n_shifts number of window shifts
Samples data frame contains the same columns as shifts data frame plus three: T_start, T_end, sample_name.
samples data frame.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.