Skip to contents

Constructor function for "mix" objects

Usage

new_mix(l, variable, ..., class = character())

Arguments

l

List containing the components of a mixture distribution object.

variable

Type of random variable: "continuous", "discrete", or "mixed".

...

Other attributes to add to the list.

class

If making a subclass, specify its name here.