# NOT RUN {
comparison <- compareModels(data = sim.data, promotion = sim.promotion.sales,
fix = list(logged = TRUE, differencing = TRUE, smooth.origin='all',
trend = FALSE, period = NULL),
time.field = 'dt', target.field = 'simulated_sales',
trend.param = 0.02, period.param = 2)
# }
Run the code above in your browser using DataLab