powered by
mixture
Returns a named numeric vector containing all component parameters (flattened) followed by the mixing weights.
# S3 method for mixture params(x)
A named numeric vector.
A mixture object.
m <- mixture(list(normal(0, 1), normal(5, 2)), c(0.3, 0.7)) params(m)
Run the code above in your browser using DataLab