plot_modified_credible_regions: make posterior likelihood plot of the median and 95th...

View source: R/plot_risk.R

plot_modified_credible_regionsR Documentation

make posterior likelihood plot of the median and 95th percentile of distribution

Description

make posterior likelihood plot of the median and 95th percentile of distribution

Usage

plot_modified_credible_regions(
  mcmc_dfs,
  kdes,
  label_txt,
  colors,
  show.legend = FALSE,
  base.size = 12
)

Arguments

mcmc_dfs

the rbound outputs from inc_per_mcmc

kdes

list of results from call to fit_kde

label_txt

labels for points

colors

colors for each region

show.legend

logical, passed to geom_point

base.size

size for font, to be passed to theme_bw()

Value

a plot

Examples

plot_risk_uncertainty(ebola_gamma_pstr, kde_ebola, label_txt="Ebola", colors=c("#1b9e77", "#d95f02", "#7570b3"))

reichlab/activemonitr documentation built on April 9, 2024, 2:17 p.m.