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

View source: R/mixture.R

format.mixtureR Documentation

Format a mixture object as a character string.

Description

Format a mixture object as a character string.

Usage

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

Arguments

x

A mixture object.

...

Additional arguments (not used).

Value

A character string describing the mixture.

Examples

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

algebraic.dist documentation built on Feb. 27, 2026, 5:06 p.m.