View source: R/helper-functions.R
ggqte | R Documentation |
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",
alp = qteobj$alp
)
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 |
alp |
gives a way to override the significance level in the case where
|
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.