makeAbscontDistribution {distr}R Documentation

"makeAbscontDistribution"

Description

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

Usage

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@itwm.fraunhofer.de

Examples

  Hu <- Huberize(Norm(), -2,1)
  Hu
  plot(Hu)
  Hu0 <- makeAbscontDistribution(Hu)
  Hu0
  plot(Hu0)

[Package distr version 2.1.3 Index]