A generalised expectation function for distributions, for arithmetic mean and more complex numeric calculations.
genExp(object, trafo = NULL, cubature = FALSE, ...)
Distribution.
transformation for expectation calculation, see details.
If TRUE
uses cubature::cubintegrate for approximation, otherwise integrate.
Passed to cubature::cubintegrate.
The given expectation as a numeric, otherwise NULL.