tidyposterior (version 0.0.3)

ggplot.posterior_diff: Visualize the Posterior Distributions of Model Differences

Description

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

Usage

# S3 method for 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.

Value

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

Details

deprecated

Examples

Run this code
# NOT RUN {
data(ex_objects)
library(ggplot2)
ggplot(contrast_samples)

# }

Run the code above in your browser using DataLab