ggqte: ggqte

View source: R/helper-functions.R

ggqteR Documentation

ggqte

Description

Makes somewhat nicer plots of quantile treatment effects by using ggplot

Usage

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

Value

a ggplot object


qte documentation built on Sept. 1, 2022, 5:05 p.m.