plot.riFit: Plot Point Estimate and Randomization Distribution for...

Description Usage Arguments

View source: R/regression_functions.R

Description

A plot showing the point estimate for the treatment effect as a red line, and the randomization distribution of the treatment effect as gray bars.

Usage

1
2
3
## S3 method for class 'riFit'
plot(x, title = NULL, xlab = NULL, ylab = NULL,
  scale = F, xmin, xmax, axe.y = F, ...)

Arguments

x

An object of the class riFit generated by rireg or riwfe.

title

The main title (on top)

xlab

X axis label

ylab

Y axis label

scale

logical; if TRUE the point estimates and the randomization distribution is demeaned and normalized before plotting (default is FALSE)

xmin

a numeric indicating the minimum value of the plot's main axix

xmax

a numeric indicating the maximum value of the plot's main axix

axe.y

logical; if TRUE the y-axis is shown (default is FALSE)

...

Other arguments passed on to ggplot2::ggplot. Currently unused


mdtrinh/vietnamdata documentation built on May 3, 2019, 11:49 p.m.