ggqte function

ggqte

ggqte

Makes somewhat nicer plots of quantile treatment effects by using ggplot

ggqte( qteobj, main = "", ylab = "QTE", ylim = NULL, ybreaks = NULL, xbreaks = c(0.1, 0.3, 0.5, 0.7, 0.9), setype = "pointwise" )

Arguments

  • qteobj: a QTE object
  • main: optional title
  • ylab: optional y axis label
  • ylim: optional limits of y axis
  • ybreaks: optional breaks in y axis
  • xbreaks: optional breaks in x axis
  • setype: options are "pointwise", "uniform" or both; pointwise confidence intervals cover the QTE at each particular point with a fixed probability, uniform confidence bands cover the entire curve with a fixed probability. Uniform confidence bands will tend to be wider. The option "both" will plot both types of confidence intervals

Returns

a ggplot object

  • Maintainer: Brantly Callaway
  • License: GPL-2
  • Last published: 2022-09-01

Useful links