DistrList: Generating function for DistrList-class

Description Usage Arguments Value Author(s) See Also Examples

View source: R/DistrList.R

Description

Generates an object of class "DistrList".

Usage

1
DistrList(..., Dlist)

Arguments

...

Objects of class "Distribution" (or subclasses)

Dlist

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

Value

Object of class "DistrList"

Author(s)

Matthias Kohl [email protected]

See Also

DistrList-class, UnivarDistrList-class, UnivarDistrList

Examples

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

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

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