prepare_intervals: prepare_intervals

Description Usage Arguments Value Examples

Description

**Designed to prepare data by pulling out left, right, and ratio intervals**

Usage

1
prepare_intervals(data, intervalType, intervalLength)

Arguments

data

Non-nested tibble with the following columns: * A unique identifier (usually made by a 'group_by“ call) * A continious date column * A numeric column, one observation per date per unique identifier

intervalType

Must be one of following strings: * 'years' * 'months' * 'weeks' * 'days'

intervalLength

Must be positive integer excluding zero

Value

List that contains [nestedTibble, tibble]

Examples

1

clarkjoe/overtime documentation built on May 9, 2019, 8:13 a.m.