plot_density: Create a density plot for a particular parameter

View source: R/plot-density.R

plot_densityR Documentation

Create a density plot for a particular parameter

Description

Create a density plot for a particular parameter

Usage

plot_density(model, post_regex, fill = "royalblue", alpha = 0.3)

Arguments

model

A model object, created by create_rds_file()

post_regex

A regular expression that matches one parameter name and nothing else

fill

The fill color under the density curve

alpha

The alpha value for under the density curve

Value

A ggplot2::ggplot() object


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.