gaps-methods {distr} | R Documentation |
Methods for Functions gaps and setgaps in Package ‘distr’
Description
[set]gaps-methods
Usage
gaps(object)
gaps(object)
gaps(object) <- value
setgaps(object, ...)
## S4 method for signature 'AbscontDistribution'
gaps(object)
## S4 method for signature 'AbscontDistribution'
setgaps(object, exactq = 6,
ngrid = 50000, ...)
Arguments
object |
object of class |
... |
further arguments to be passed to |
value |
|
exactq |
density values smaller than
|
ngrid |
number of gridpoints at which the density is evaluated. |
Methods
- gaps
signature(object = "AbscontDistribution")
: returns slotgaps
of an absolutely continuous distribution- setgaps
signature(object = "AbscontDistribution")
: tries to find out the gaps (whered(object)
is approximately 0) and fills slotgaps
ofobject
correspondingly- setgaps
signature(object = "UnivarMixingDistribution")
: for each mixing component, if it has a slotgaps
, tries to find out the gaps and fills slotgaps
of the component correspondingly, and, subsequently merges all found gap-slots of the components to a gap-slot for the object, using internal function.mergegaps2
.- gaps<-
signature(object = "AbscontDistribution")
: modifies slotgaps
of an absolutely continuous distribution