combine {waspr} | R 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.
[Package waspr version 1.0.1 Index]