Learn R Programming

distr (version 2.9.5)

DistrList: Generating function for DistrList-class

Description

Generates an object of class "DistrList".

Usage

DistrList(..., Dlist)

Value

Object of class "DistrList"

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!)

Author

Matthias Kohl Matthias.Kohl@stamats.de

See Also

DistrList-class, UnivarDistrList-class, UnivarDistrList

Examples

Run this code
(DL <- DistrList(Norm(), Exp(), Pois()))
plot(DL)
as(Norm(), "DistrList")

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

Run the code above in your browser using DataLab