Learn R Programming

RandVar (version 1.2.4)

.getImageDistr: Help function for generation of image distributions

Description

Generates an imageDistribution f(distr).

Usage

.getImageDistr(f, distr)

Value

image distribution of distr under f

Arguments

f

a function with values in R

distr

an object of class "Abscontdistribution"

Author

Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de

Details

works even if f(distr) fails; if anything else fails does simulations of f(x), x according to distr; uses RtoDPQ then; does not check whether f(distr) has point masses