Learn R Programming

tidyposterior (version 1.0.0)

summary.posterior: Summarize the Posterior Distributions of Model Statistics

Description

Numerical summaries are created for each model including the posterior mean and upper and lower credible intervals (aka uncertainty intervals).

Usage

# S3 method for posterior
summary(object, prob = 0.9, seed = sample.int(10000, 1), ...)

Value

A data frame with summary statistics and a row for each model.

Arguments

object

An object produced by tidy.perf_mod().

prob

A number p (0 < p < 1) indicating the desired probability mass to include in the intervals.

seed

A single integer for sampling from the posterior.

...

Not currently used

Examples

Run this code
data("ex_objects")

summary(posterior_samples)

Run the code above in your browser using DataLab