dplot.mcmc.list {metamisc}R 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>


[Package metamisc version 0.4.0 Index]