Constructor Function for Finite Distributions

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

## Arguments

l

List containing the components of a step distribution object.

variable

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

...

Attributes to add to the list.

class

If making a subclass, specify its name here.