combine: Combine output of the swapping algorithm

Description Usage Arguments Value Source

View source: R/utils.R

Description

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

Usage

1

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 July 25, 2020, 1:06 a.m.