rdplot_internal_cutoff: Basic RD plot

Description Usage Arguments

View source: R/internal-plot.r

Description

Basic RD plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
rdplot_internal_cutoff(
  aggregate,
  predict1,
  predict0,
  cutoff,
  ate_label,
  ate_label_size = 5,
  outcome_label,
  ylim,
  vjust = 0,
  hjust = 0,
  xlab = "Running variable",
  ylab = "Average",
  ...
)

Arguments

aggregate

observed data aggregated by mass points

predict1

predicted data of treated

predict0

predicted data of control

cutoff

cutoff value

ate_label

In-plot text about local ATE estimates

ate_label_size

In-plot text size

outcome_label

Outcome label in plot title

ylim

numeric vector of limits of y-axis

vjust

numeric. Adjust in-plot text vertically

hjust

numeric. Adjust in-plot text horizontally

xlab

label of x-axis

ylab

label of y-axis

...

arguments of simplegg()


KatoPachi/discreteRD documentation built on Feb. 24, 2022, 12:32 a.m.