Learn R Programming

HistDAWass (version 1.0.8)

+: Method +

Description

the sum of two distribution according to the L2 Wasssertein

the sum of a number and a distribution according to the L2 Wasssertein

the sum of adistribution and a number according to the L2 Wasssertein

Usage

# S4 method for distributionH,distributionH
+(e1, e2)

# S4 method for numeric,distributionH +(e1, e2)

# S4 method for distributionH,numeric +(e1, e2)

Value

a distributionH object

Arguments

e1

a distributionH object or a number

e2

a distributionH object or a number