Description Usage Arguments Value
group_by_date
1 2  | group_by_date(df, date_col = "DischargeDate", cutoff_dates, new_col,
  period_labels)
 | 
df | 
 the dataframe  | 
date_col | 
 a date column in df  | 
cutoff_dates | 
 vector of dates  | 
new_col | 
 name for new column  | 
period_labels | 
 vector of character labels  | 
df with a new column added for the period date_col falls into for that row. Periods are defined by cutoff_dates and labelled by period_labels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.