View source: R/promotion_impact.R
calculate smoothed values imitated promotion sales
1 2 3 4 5 6 7 8 9  | create.smooth.vars(
  target.data,
  promotion.data,
  smooth.except.date = NULL,
  smooth.bandwidth = 2,
  smooth.origin = "all",
  smooth.var.sum = TRUE,
  smooth.scale = "minmax"
)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.