mplot_AGGTEobj: Plot AGGTEobj object

View source: R/mplot_AGGTEobj.R

mplot_AGGTEobjR Documentation

Plot AGGTEobj object

Description

Plot AGGTEobj object from the did package.

Usage

mplot_AGGTEobj(
  x,
  x.factor = 1,
  y.factor = 1,
  error = c("se", "95%ci"),
  main = "Average Effect by Length of Exposure",
  legend.title = "",
  group.names = c("Pre", "Post"),
  xlab = NULL,
  ylab = NULL,
  mar = c(2.5, 3.5, 2, 7),
  theme = rtTheme,
  font.family = "Helvetica",
  col = c("#EC1848", "#18A3AC"),
  filename = NULL,
  file.width = 6.5,
  file.height = 5.5,
  par.reset = TRUE,
  ...
)

Arguments

x

AGGTEobj object

main

Character: Plot title

group.names

(Optional) If multiple groups are plotted, use these names if group.title = TRUE

xlab

Character: x-axis label

ylab

Character: y-axis label

mar

Float, vector, length 4: Margins; see par("mar")

theme

Character: Run themes() for available themes

filename

Character: Path to file to save plot. Default = NULL

par.reset

Logical: If TRUE, reset par setting before exiting.

...

Additional arguments to be passed to theme function

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on Nov. 22, 2024, 4:12 a.m.