ggplot.posterior: Visualize the Posterior Distributions of Model Statistics

Description Usage Arguments Details Value Examples

Description

A simple violin plot is created by the function.

Usage

1
2
## S3 method for class 'posterior'
ggplot(data, mapping = NULL, ..., environment = NULL, reorder = TRUE)

Arguments

data

An object produced by tidy.perf_mod().

mapping, ..., environment

Not currently used.

reorder

A logical; should the model column be reordered by the average of the posterior distribution?

Details

\lifecycle

deprecated

Value

A ggplot2::ggplot() object using ggplot2::geom_violin() for the posteriors.

Examples

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

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