Skip to contents

Plots the distribution of a specified prior from a `capturetbpriors“ object.

Usage

# S3 method for class 'capturetbpriors'
plot(x, ..., par = "alpha")

Arguments

x

Object of class 'capturetbpriors'. See capturetb_priors().

...

Further arguments passed to the method.

par

Character. Name of the parameter to plot. ("alpha", "sigma", "sigma_c", "beta[1]", ...). Default is "alpha".

Examples

mod <- unitcost()
#> Multiple outputs detected. Including output-level random effects in model.
plot(mod$priors())