absolute_value.plot: Daily Incrementality or ATT plot function for GeoLift output.

View source: R/plots.R

absolute_value.plotR Documentation

Daily Incrementality or ATT plot function for GeoLift output.

Description

[Stable]

absolute_value.plot returns chart for daily absolute values using GeoLift output.

Usage

absolute_value.plot(
  GeoLift,
  plot_type = "ATT",
  treatment_end_date = NULL,
  frequency = "daily",
  plot_start_date = NULL,
  title = "",
  subtitle = "",
  notes = "",
  ROPE = FALSE,
  post_treatment_periods = 0,
  ...
)

Arguments

GeoLift

GeoLift object.

plot_type

Can be either ATT or Incrementality. Defaults to ATT.

treatment_end_date

Character that represents a date in year-month-day format.

frequency

Character that represents periodicity of time stamps. Can be either weekly or daily. Defaults to daily.

plot_start_date

Character that represents initial date of plot in year-month-day format.

title

Character for the title of the plot. NULL by default.

subtitle

Character for the subtitle of the plot. NULL by default.

notes

String to add notes to the plot. Empty by default.

ROPE

A logic flag indicating whether to plot the region of practical equivalence (ROPE) at a 90% percentile. FALSE by default.

post_treatment_periods

Number of post-treatment periods. Zero by default.

...

additional arguments

Value

Daily Incremental or ATT plot.


facebookincubator/GeoLift documentation built on May 31, 2024, 10:09 a.m.