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

MakeAbscontDistribution

"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)

Examples

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

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.