Transforms an object of "UnivariateDistribution" to an object of class "makeAbscontDistribution".
"UnivariateDistribution"
"makeAbscontDistribution"
makeAbscontDistribution(object, gaps = NULL, param = NULL, img = NULL, withgaps = getdistrOption("withgaps"), ngrid = getdistrOption("DefaultNrGridPoints"), ep = getdistrOption("TruncQuantile"))
Objects of class "UnivariateDistribution" (or subclasses)
slot gaps (of class "matrix" with two columns) to be filled (i.e. t(gaps) must be ordered if read as vector)
"matrix"
t(gaps)
parameter (of class "OptionalParameter")
"OptionalParameter"
image range of the distribution (of class "rSpace")
"rSpace"
logical; shall gaps be reconstructed empirically?
number of gridpoints
tolerance epsilon
takes slot p of object and then generates an "AbscontDistribution" object using generating function AbscontDistribution.
p
object
"AbscontDistribution"
AbscontDistribution
# NOT RUN { Hu <- Huberize(Norm(), -2,1) Hu plot(Hu) Hu0 <- makeAbscontDistribution(Hu) Hu0 plot(Hu0) # }
Run the code above in your browser using DataCamp Workspace