Uniform {ROOPSD} | R Documentation |
Uniform
Description
Uniform distribution in OOP way. Based on AbstractDist
Details
See AbstractDist for generic methods
Super class
ROOPSD::AbstractDist
-> Uniform
Active bindings
min
[double] min of the uniform law
max
[double] max of the uniform law
params
[vector] params of the uniform 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 Uniform object.
Usage
Uniform$new(min = 0, max = 1)
Arguments
min
[double] Min of the uniform law
max
[double] Max of the uniform law
Returns
A new 'Uniform' object.
Method clone()
The objects of this class are cloneable with this method.
Usage
Uniform$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Examples
## Generate sample
min = -1
max = 1
unifl = ROOPSD::Uniform$new( min = min , max = max )
X = unifl$rvs( n = 1000 )
## And fit parameters
unifl$fit(X)
[Package ROOPSD version 0.3.9 Index]