Learn R Programming

qte (version 1.3.0)

plot.BoundsObj: Plot Bounds

Description

Plots a BoundObj Object

Usage

# S3 method for BoundsObj
plot(x, plotate = FALSE, plot0 = FALSE,
  qtecol = "black", atecol = "black", col0 = "black", ylim = NULL,
  uselegend = FALSE, legloc = "topright", ...)

Arguments

x

A BoundsObj Object

plotate

Boolean whether or not to plot the ATE

plot0

Boolean whether to plot a line at 0

qtecol

Color for qte plot. Default "black"

atecol

Color for ate plot. Default "black"

col0

Color for 0 plot. Default "black"

ylim

The ylim for the plot; if not passed, it will be automatically set based on the values that the QTE takes

uselegend

Boolean whether or not to print a legend

legloc

String location for the legend. Default "topright"

...

Other parameters to be passed to plot (e.g lwd)