plot.summary.twopartQR: Plot methods for summary of Bayesian quantile regression...

View source: R/plot.summary.twopartQR.R

plot.summary.twopartQRR Documentation

Plot methods for summary of Bayesian quantile regression models.

Description

Returns a ggplot of the estimates of the models and their respective credible intervals.

Usage

## S3 method for class 'summary.twopartQR'
plot(x, separate = FALSE, beta = TRUE, sigma = FALSE, gamma = FALSE, ...)

Arguments

x

This is an object of the class "summary.twopartQR", produced by a call to the summary.twopartQR function.

separate

if FALSE, all plots are returned in the same output, and if TRUE the plot for each variable is returned separately. Default value is FALSE.

beta

If TRUE, it plots the posterior estimates for beta(tau). Default is set to TRUE.

sigma

If TRUE, it plots the posterior estimates for sigma. Default is set to FALSE.

gamma

If TRUE, it plots the posterior estimates for gamma. Default is set to FALSE.

...

other plot params (currently not used).

Value

A ggplot of the posterior estimates with their credible intervals.


brsantos/baquantreg documentation built on Feb. 8, 2023, 8:18 a.m.