AM_plot_density: Plot the density of variables from 'AM_mcmc_output' object

Description Usage Arguments Value

View source: R/AM_plot.R

Description

Given an AM_mcmc_output object, AM_plot_density plots the posterior density of the specified variables of interest. AM_plot_density makes use of bayesplot's plotting function mcmc_areas \insertCitebayesplotAntMAN.

Usage

1
AM_plot_density(x, tags = NULL, title = "MCMC Results")

Arguments

x

An AM_mcmc_output fit object, produced by calling AM_mcmc_fit.

tags

A list of variables to consider. This function only produces meaningful plots for variables that have fixed dimension across the draws.

title

Title for the plot.

Value

a ggplot object visualising the posterior density of the specified variables.


AntMAN documentation built on July 23, 2021, 5:08 p.m.