Append two Density objects.

x + y

Arguments

x

A Density object (e.g. Gaussian)

y

A Density object (e.g. Gaussian)

Value

A DensityList object.

Examples

Gaussian(0, 1) + Gaussian(0, 1)
#> [[1]] #> Variable Density: Gaussian (-infty, infty) #> Fixed parameters: 2 (mu = 0, sigma = 1) #> [[2]] #> Variable Density: Gaussian (-infty, infty) #> Fixed parameters: 2 (mu = 0, sigma = 1) #> attr(,"class") #> [1] "DensityList"