plot_running_quants: Create a plot with running quantiles across the posterior for...

View source: R/plot-mcmc-running-quants.R

plot_running_quantsR Documentation

Create a plot with running quantiles across the posterior for a parameter

Description

Create a plot with running quantiles across the posterior for a parameter

Usage

plot_running_quants(
  model,
  post_regex,
  y_lim = NULL,
  fill = "royalblue",
  alpha = 0.3
)

Arguments

model

A model list, created by create_rds_file()

post_regex

A regular expression that matches one parameter name and nothing else

y_lim

The limits for the y-axis. A vector of 2

fill

The fill color for the credible interval ribbon

alpha

The alpha value for the credible interval ribbon

probs

A vector of 3 values for the lower, median, and upper quantiles

Value

A ggplot2::ggplot() object


pacific-hake/hake-assessment documentation built on Nov. 8, 2024, 1:16 p.m.