plot.beta_binomial_fit: Visualize posterior draws from a fitted Beta-Binomial model

Description Usage Arguments Value

View source: R/beta_binom.R

Description

Plots the point estimates and 95% and 80% credible intervals for parameters, including relative risk and odds ratio.

Usage

1
2
## S3 method for class 'beta_binomial_fit'
plot(x, interval_type = c("quantile", "HPD"), ...)

Arguments

x

An object of class "beta_binomial_fit".

interval_type

Method for computing intervals ("quantile" or "HPD").

Value

A ggplot2 object.


bearloga/BCDA documentation built on Feb. 8, 2021, 3:43 p.m.