Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gap-methods

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 "AbscontDistribution" (or subclasses)

...

further arguments to be passed to setgaps; not yet used.

value

n x 2 matrix m of numerics where c(t(m)) is an ordered vector; value to be assigned to slot gaps

exactq

density values smaller than 10^-exactq are considered as 0.

ngrid

number of gridpoints at which the density is evaluated.

Methods

gaps

signature(object = "AbscontDistribution"): returns slot gaps of an absolutely continuous distribution

setgaps

signature(object = "AbscontDistribution"): tries to find out the gaps (where d(object) is approximately 0) and fills slot gaps of object correspondingly

setgaps

signature(object = "UnivarMixingDistribution"): for each mixing component, if it has a slot gaps, tries to find out the gaps and fills slot gaps 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 slot gaps of an absolutely continuous distribution


distr

Object Oriented Implementation of Distributions

v2.8.0
LGPL-3
Authors
Florian Camphausen [ctb] (contributed as student in the initial phase --2005), Matthias Kohl [aut, cph], Peter Ruckdeschel [cre, cph], Thomas Stabla [ctb] (contributed as student in the initial phase --2005), R Core Team [ctb, cph] (for source file ks.c/ routines 'pKS2' and 'pKolmogorov2x')
Initial release
2019-03-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.