Learn R Programming

distr (version 2.9.5)

UnivarDistrList-class: List of univariate distributions

Description

Create a list of univariate distributions

Arguments

Objects from the Class

Objects can be created by calls of the form new("UnivarDistrList", ...). More frequently they are created via the generating function DistrList.

Slots

.Data

Object of class "list". A list of univariate distributions.

Extends

Class "DistrList", directly.
Class "list", by class "DistrList".
Class "vector", by class "DistrList".

Methods

coerce

signature(from = "UnivariateDistribution", to = "UnivarDistrList"): create a UnivarDistrList object from a univariate distribution

Author

Matthias Kohl Matthias.Kohl@stamats.de

See Also

UnivarDistrList, DistrList-class, UnivariateDistribution-class

Examples

Run this code
(DL <- new("UnivarDistrList", list(Norm(), Exp())))
plot(DL)
as(Norm(), "UnivarDistrList")

Run the code above in your browser using DataLab