density_plot_state: Posterior density plot

Description Usage Arguments Value

View source: R/plots.R

Description

Plots posterior density of a given variable, facetted by state

Usage

1
2
density_plot_state(meltedChain, variableName, xlimits = NULL, title = "",
  breaks = NULL, labels = NULL)

Arguments

meltedChain

the melted MCMC chain

variableName

the variable to plot

xlimits

optional vector of lower and upper x axis range

title

the title to give to the plot

breaks

option x axis breaks

optional

x axis labels. Must match breaks length

Value

a ggplot object of posterior density


jameshay218/zikaProj documentation built on Jan. 9, 2020, 7:26 p.m.