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

Description Usage Arguments Value Author(s)

View source: R/plot_utils.r

Description

Generate a plot of the posterior distribution

Usage

1
2
## 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 Oct. 13, 2021, 3 p.m.