AM_plot_density {AntMAN} | R Documentation |
Plot the density of variables from AM_mcmc_output
object
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 (Gabry et al. 2019).
Usage
AM_plot_density(x, tags = NULL, title = "MCMC Results")
Arguments
x |
An |
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.
[Package AntMAN version 1.1.0 Index]