plot.TBRROASAnalysisFit: Creates a graph of the TBR ROAS analysis fit.

Description Usage Arguments Value

View source: R/plot_tbrplotdata.R

Description

Creates a graph of the TBR ROAS analysis fit.

Usage

1
2
3
4
## S3 method for class 'TBRROASAnalysisFit'
plot(x, y, panels = "cumulative",
  periods = "prediction", quantiles = c(0.1, 0.9), highlight.weeks = TRUE,
  date.format = "%Y-%m-%d", ...)

Arguments

x

a TBRROASAnalysisFit object.

y

ignored.

panels

(vector of strings) names of the panels to be plotted.

periods

(vector of strings) names of the periods to show.

quantiles

(real vector of length 2) lower and upper quantiles of the credible interval to show.

highlight.weeks

(flag), alternate background shading to highlight weeks?

date.format

(string) date format.

...

further arguments passed to methods as.TBRPlotData and plot.TBRPlotData.

Value

A ggplot2 object.


google/GeoexperimentsResearch documentation built on May 17, 2019, 7:42 a.m.