combine: Combine output of the swapping algorithm

View source: R/utils.R

combineR Documentation

Combine output of the swapping algorithm

Description

This (non-exported) function combines the output from the swapping algorithm (Puccetti, Rüschendorf and Vanduffel, 2020).

Usage

combine(x)

Arguments

x

a three dimensional array (rows = subsets, columns = par, slices = samples) containing posterior samples for all subsets

Value

A wasp object, which can be further analyzed using the associated function summary.wasp.

Source

Puccetti, G., Rüschendorf, L. & Vanduffel, S. (2020). On the computation of Wasserstein barycenters, Journal of Multivariate Analysis, 176.


waspr documentation built on Sept. 11, 2023, 5:10 p.m.