params.mixture: Retrieve the parameters of a 'mixture' object.

View source: R/mixture.R

params.mixtureR Documentation

Retrieve the parameters of a mixture object.

Description

Returns a named numeric vector containing all component parameters (flattened) followed by the mixing weights.

Usage

## S3 method for class 'mixture'
params(x)

Arguments

x

A mixture object.

Value

A named numeric vector.

Examples

m <- mixture(list(normal(0, 1), normal(5, 2)), c(0.3, 0.7))
params(m)

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