summary.wasp: Posterior summaries for the Wasserstein barycenter of subset...

Description Usage Arguments Value Examples

View source: R/classfunctions.R

Description

Outputs and prints posterior summary statistics (mean, mode, sd, 95 Posterior Density interval)

Usage

1
2
## S3 method for class 'wasp'
summary(x)

Arguments

x

a wasp object obtained from the function wasp().

Value

Posterior summary statistics (mean, mode, sd, 95 all the Wasserstein barycenter of subset posteriors of all parameters in the model.

Examples

1
2
3
4
5
6
library(waspr)
out <- wasp(pois_logistic,
            par.names = c("beta_s", "alpha_l", "beta_l",
                          "baseline_sigma", "baseline_mu",
                          "correlation", "sigma_s", "sigma_l"))
summary(out)

waspr documentation built on July 25, 2020, 1:06 a.m.