UnivarDistrList: Generating function for UnivarDistrList-class

Description Usage Arguments Value Author(s) See Also Examples

View source: R/DistrList.R

Description

Generates an object of class "UnivarDistrList".

Usage

1

Arguments

...

Objects of class "UnivariateDistribution" (or subclasses)

Dlist

an optional list or object of class "UnivarDistrList"; if not missing it is appended to argument ...; this way UnivarMixingDistribution may also be called with a list (or "UnivarDistrList"-object) as argument as suggested in an e-mail by Krunoslav Sever (thank you!)

Value

Object of class "UnivarDistrList"

Author(s)

Matthias Kohl [email protected]

See Also

DistrList-class, UnivarDistrList-class, UnivarDistrList

Examples

1
2
3
4
5
6
7
8
(DL <- UnivarDistrList(Norm(), Exp(), Pois()))
plot(DL)
as(Norm(), "UnivarDistrList")

## The function is currently defined as
function(...){ 
    new("UnivarDistrList", list(...)) 
}

distr documentation built on July 9, 2018, 3 a.m.