View source: R/summarise.R
Summarise mcmc data
## S3 method for class 'mcmc_data' summarise(.data, ..., .fun = sum)
.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.
data-masking
The value can be:
A vector of length 1, e.g. min(x), n(), or sum(is.na(y)).
min(x)
n()
sum(is.na(y))
A data frame, to add multiple columns from a single expression.
Returning values with size 0 or >1 was deprecated as of 1.1.0. Please use reframe() for this instead.
reframe()
.fun
The function to use to summarise the MCMC samples.
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.