month_trend: Month trend

Description Usage Arguments Examples

View source: R/simulations_f.R

Description

Calculate counterfactual under different scenarios.

Usage

1
month_trend(month, baseline)

Arguments

baseline

A vector of values per day

weekday

Day of the week as Date, word in English or number:

Examples

1
2
3
4
5
6
7
## Example
month_trend(month='October',
           baseline=50:62)
month_trend(month=10,
           baseline=50:62)
month_trend(month=as.Date('2019-10-25'),
           baseline=50:62)

monkeypostulate/MarketingAnalyticsR documentation built on Feb. 9, 2020, 12:15 a.m.