Exponential {ROOPSD} | R Documentation |
Exponential
Description
Exponential distribution in OOP way. Based on AbstractDist
Details
See AbstractDist for generic methods
Super class
ROOPSD::AbstractDist
-> Exponential
Active bindings
rate
[double] rate of the exponential law
params
[vector] params of the exponential law
Methods
Public methods
Inherited methods
ROOPSD::AbstractDist$cdf()
ROOPSD::AbstractDist$density()
ROOPSD::AbstractDist$diagnostic()
ROOPSD::AbstractDist$fit()
ROOPSD::AbstractDist$icdf()
ROOPSD::AbstractDist$isf()
ROOPSD::AbstractDist$logdensity()
ROOPSD::AbstractDist$pdeltaCI()
ROOPSD::AbstractDist$qdeltaCI()
ROOPSD::AbstractDist$qgradient()
ROOPSD::AbstractDist$rvs()
ROOPSD::AbstractDist$sf()
Method new()
Create a new Exponential object.
Usage
Exponential$new(rate = 1)
Arguments
rate
[double] Rate of the exponential law
Returns
A new 'Exponential' object.
Method clone()
The objects of this class are cloneable with this method.
Usage
Exponential$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Examples
## Generate sample
rate = 0.5
expl = ROOPSD::Exponential$new( rate = rate )
X = expl$rvs( n = 1000 )
## And fit parameters
expl$fit(X)
[Package ROOPSD version 0.3.9 Index]