summarise.mcmc_data: Summarise mcmc data

View source: R/summarise.R

summarise.mcmc_dataR Documentation

Summarise mcmc data

Description

Summarise mcmc data

Usage

## S3 method for class 'mcmc_data'
summarise(.data, ..., .fun = sum)

Arguments

.data

An mcmc_data object

...

<data-masking> Name-value pairs of summary functions. The name will be the name of the variable in the result.

The value can be:

  • A vector of length 1, e.g. min(x), n(), or sum(is.na(y)).

  • A data frame, to add multiple columns from a single expression.

[Deprecated] Returning values with size 0 or >1 was deprecated as of 1.1.0. Please use reframe() for this instead.

.fun

The function to use to summarise the MCMC samples.


poissonconsulting/mcmcdata documentation built on June 5, 2023, 8:38 a.m.