Learn R Programming

algebraic.dist (version 0.9.1)

format.mixture: Format a mixture object as a character string.

Description

Format a mixture object as a character string.

Usage

# S3 method for mixture
format(x, ...)

Value

A character string describing the mixture.

Arguments

x

A mixture object.

...

Additional arguments (not used).

Examples

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

Run the code above in your browser using DataLab