plot.quantileplot: Plot function for 'quantileplot' objects

View source: R/plot.quantileplot.R

plot.quantileplotR Documentation

Plot function for quantileplot objects

Description

Plots a quantileplot object.

Usage

## S3 method for class 'quantileplot'
plot(x, bottom_xlab_angle = NULL, bottom_height = 0.3, ...)

Arguments

x

An object of class quantileplot, which results from a call to the function quantileplot

bottom_xlab_angle

Numeric degrees to rotate x-axis labels

bottom_height

Proportion of vertical space in the full plot to be taken up by uncertainty draws at the bottom (only relevant if the quantileplot includes uncertainty draws).

...

Other arguments to plot commands

Value

Prints a plot. If the quantileplot was specified with option uncertainty_draws = TRUE, this is a gtable object with a panel of plots. If the quantileplot was specified with uncertainty_draws = FALSE (the default), this is a ggplot2 object.

References

Lundberg, Ian, Robin C. Lee, and Brandon M. Stewart. 2021. "The quantile plot: A visualization for bivariate population relationships." Working paper.

Lundberg, Ian, and Brandon M. Stewart. 2020. "Comment: Summarizing income mobility with multiple smooth quantiles instead of parameterized means." Sociological Methodology 50(1):96-111.

Fasiolo, Matteo, Simon N. Wood, Margaux Zaffran, Raphaƫl Nedellec, and Yannig Goude. 2020. "Fast calibrated additive quantile regression." Journal of the American Statistical Association.


ilundberg/quantileplot documentation built on May 23, 2022, 3:12 a.m.