Learn R Programming

algebraic.dist (version 0.9.1)

sup.mixture: Support of a mixture distribution.

Description

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

Usage

# S3 method for mixture
sup(x)

Value

An interval object.

Arguments

x

A mixture object.

Examples

Run this code
m <- mixture(list(normal(0, 1), exponential(1)), c(0.5, 0.5))
sup(m)

Run the code above in your browser using DataLab