computes variables suitable for seasonality predictors

add_fourier_vars(data_to_use = data1, vc = var_controls)

Arguments

data_to_use

defaults to data1; suitable for MMM and with variables matching the vc table

vc

deafults to var_controls; tibble with varname and role indicating which variable is the time_id column