date.shift.df: Randomly date shift the combined storyboard data frame

View source: R/date.shift.df.R

date.shift.dfR Documentation

Randomly date shift the combined storyboard data frame

Description

'date.shift.df()' shifts the dates a unified random number of weeks either forward or back between 1 and 52

Usage

date.shift.df(data)

Arguments

data

a data frame that is downstream of combine_storyboard_df()

date

the name of the column with the date intended to be shifted. Defaults to "date".

Value

A data frame of shifted dates

Examples

# Test with embedded data set "storyboard_dataset"
storyboard_dataset %>%
  date.shift.df()


TheMillerLab/StoryboardR documentation built on Jan. 12, 2023, 11:24 a.m.