MakeAbscontDistribution: "makeAbscontDistribution"

Description Usage Arguments Details Author(s) Examples

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)

distr documentation built on May 31, 2017, 3:55 a.m.

Search within the distr package
Search all R packages, documentation and source code