WH.mat.sum {HistDAWass} | R Documentation |
Method WH.mat.sum
Description
It sums two MatH
objects, i.e. two matrices of distributions,
by summing the quantile functions of histograms. This sum is consistent with
a set of distributions equipped with a L2 wasserstein metric.
Usage
WH.mat.sum(object1, object2)
## S4 method for signature 'MatH,MatH'
WH.mat.sum(object1, object2)
Arguments
object1 |
a |
object2 |
a |
Value
a MatH
object,
Examples
# binding by row
M1 <- BLOOD[1:5, ]
M2 <- BLOOD[6:10, ]
MAT <- WH.mat.sum(M1, M2)
[Package HistDAWass version 1.0.8 Index]