Base class for univariate discrete distributions
Super classes
R6.class.class -> distribution.abstract.class -> distribution.discrete.class
Active bindings
interfacesThe list of available class interfaces.
supportThe support of the distribution, i.e. the subset of values for which the density is positive,
Methods
Inherited methods
distribution.discrete.class$new()
Create a new object of class distribution.discrete.class
Usage
distribution.discrete.class$new(support = c(0, Inf))distribution.discrete.class$p()
Evaluates the distribution function of a discrete random
variable with finite integer support given density function $d()
distribution.discrete.class$q()
Evaluates the distribution function of a discrete random
variable with finite integer support given distribution function $p()