powered by
mixture
Format a mixture object as a character string.
# S3 method for mixture format(x, ...)
A character string describing the mixture.
A mixture object.
Additional arguments (not used).
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