Returns an interval spanning the widest range of all component supports (from the smallest infimum to the largest supremum).

# S3 method for class 'mixture'
sup(x)

Arguments

x

A mixture object.

Value

An interval object.

Examples

m <- mixture(list(normal(0, 1), exponential(1)), c(0.5, 0.5))
sup(m)
#> (-Inf, Inf)