plot_matched_set: Helper function for plotting the distribution of matched set...

View source: R/PanelMatchObject.R

plot_matched_setR Documentation

Helper function for plotting the distribution of matched set sizes

Description

Helper function for plotting the distribution of matched set sizes

Usage

plot_matched_set(
  x,
  border = NA,
  col = "grey",
  ylab = "Frequency of Size",
  xlab = "Matched Set Size",
  lwd = NULL,
  main = "Distribution of Matched Set Sizes",
  freq = TRUE,
  include.empty.sets = FALSE,
  ...
)

Arguments

x

a matched.set object

border

default is NA. This is the same argument as the standard argument for hist()

col

default is "grey". This is the same argument as the standard argument for hist()

ylab

default is "Frequency of Size". This is the same argument as the standard argument for hist()

xlab

default is "Matched Set Size". This is the same argument as the standard argument for hist()

lwd

default is NULL. This is the same argument as the standard argument for hist()

main

default is "Distribution of Matched Set Sizes". This is the same argument as the standard argument for hist

freq

default is TRUE. See freq argument in hist() function for more.

include.empty.sets

logical value indicating whether or not empty sets should be included in the histogram. default is FALSE. If FALSE, then empty sets will be noted as a separate vertical bar at x = 0. If TRUE, empty sets will be included as normal sets.

...

optional arguments to be passed to hist()


PanelMatch documentation built on April 3, 2025, 6:34 p.m.