Skip to contents

Generate a plot of the posterior distribution

Usage

# S3 method for 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

Thomas Debray <thomas.debray@gmail.com>