"makeAbscontDistribution"

Share:

Description

Transforms an object of "UnivariateDistribution" to an object of class "makeAbscontDistribution".

Usage

1
2
3
4
5
makeAbscontDistribution(object, gaps = NULL,
                       param = NULL, img = NULL,
                   withgaps = getdistrOption("withgaps"),
                   ngrid = getdistrOption("DefaultNrGridPoints"),
                   ep = getdistrOption("TruncQuantile"))

Arguments

object

Objects of class "UnivariateDistribution" (or subclasses)

gaps

slot gaps (of class "matrix" with two columns) to be filled (i.e. t(gaps) must be ordered if read as vector)

param

parameter (of class "OptionalParameter")

img

image range of the distribution (of class "rSpace")

withgaps

logical; shall gaps be reconstructed empirically?

ngrid

number of gridpoints

ep

tolerance epsilon

Details

takes slot p of object and then generates an "AbscontDistribution" object using generating function AbscontDistribution.

Author(s)

Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de

Examples

1
2
3
4
5
6
  Hu <- Huberize(Norm(), -2,1)
  Hu
  plot(Hu)
  Hu0 <- makeAbscontDistribution(Hu)
  Hu0
  plot(Hu0)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.