prr.distri-class: Class /distri/ to numerically specify a probability...

Description Objects from the Class Slots Methods Author(s) Examples

Description

Objects of class /distri/ indicate the main characteristics of the distribution with the help of a /proba/ object, but also the number of elementary number of simulations, and the numerical values to attribute to the necessary parameters.

Objects from the Class

Objects can be created by calls of the form new("distri",...) where ... will be replaced by its slots when default values are not convenient.

Slots

probab:

Object of class "probab" to define the family and the fixed parameters.

nbdraw:

Object of class "numeric(1)" to define the number of simulations when it is not given by the number of rows of the slot parand and these are constant over all the simulations.

parand:

Object of class "matrix" and numeric giving the necessary additional parameters for the simulation. Each row of the matrix correspond to a simulation. This matrix structure was implemented to allow different value between simulations. For the moment, the matrix has got only two columns for the central value and the variation coefficient. This gives a unified parameterization of all distributions and encompass the degenerate cases for extreme values of the variation coefficient. No need to give this matrix some dimnames.

Methods

print:

see print8distri for the details.

Author(s)

Jean-Baptiste Denis

Examples

1
showClass("distri");


prr documentation built on May 21, 2017, 3:56 a.m.
Search within the prr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.