dplot.mcmc.list: Posterior distribution of estimated model parameters

View source: R/plot_utils.r

dplot.mcmc.listR Documentation

Posterior distribution of estimated model parameters

Description

Generate a plot of the posterior distribution

Usage

## S3 method for class 'mcmc.list'
dplot(x, P, plot_type = "dens", ...)

Arguments

x

An object of class "mcmc.list"

P

Optional dataframe describing the parameters to plot and their respective names

plot_type

Optional character string to specify whether a density plot ("dens") or histogram ("hist") should be displayed.

...

Additional arguments which are currently not used

Value

A ggplot object.

Author(s)

Thomas Debray <thomas.debray@gmail.com>


metamisc documentation built on Sept. 25, 2022, 5:05 p.m.