ggplot.posterior_diff: Visualize the Posterior Distributions of Model Differences

Description Usage Arguments Details Value Examples

Description

A density is created for each contrast in a faceted grid.

Usage

1
2
## S3 method for class 'posterior_diff'
ggplot(data, mapping = NULL, ..., environment = NULL, size = 0)

Arguments

data

An object produced by contrast_models().

mapping, ..., environment

Not currently used.

size

The size of an effective difference. For example, a 5\ "real" difference.

Details

\lifecycle

deprecated

Value

A ggplot2::ggplot() object using geom_density faceted by the models being contrasted (when there are 2 or more contrasts).

Examples

1
2
3
data(ex_objects)
library(ggplot2)
ggplot(contrast_samples)

topepo/tidyposterior documentation built on July 5, 2020, 11:11 p.m.