plot.TBRAnalysisFitTbr1: Creates a graph of the TBR analysis fit.

Description Usage Arguments Value

View source: R/plot_tbrplotdata.R

Description

Creates a graph of the TBR analysis fit.

Usage

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

Arguments

x

a TBRAnalysisFitTbr1 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.