plot_mccrary: Plot for McCrary sorting test

Description Usage Arguments

View source: R/density-plot.R

Description

Plot for McCrary sorting test

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
plot_mccrary(
  data,
  rv,
  cutoff,
  method = NULL,
  binwidth = NULL,
  bandwidth = NULL,
  bin_method = "mccrary",
  band_method = "mccrary",
  title = NULL,
  subtitle = NULL,
  theme = NULL,
  ...
)

Arguments

data

data to be used by plot

rv

name of column of running variable

cutoff

cutoff to be tested for sorting

method

currently ignored

binwidth

binwidth to be used for first-stage histogram smoother

bandwidth

bandwidth to be used for second-stage kernel smoother

title

Title for the plot

subtitle

subtitle for the plot

theme

theme for the plot

...

other arguments to be passed


be-green/shinyrd documentation built on April 14, 2020, 12:43 a.m.