genExp: Generalised Expectation of a Distribution
Description
A generalised expectation function for distributions, for arithmetic mean and more
complex numeric calculations.
Usage
genExp(object, trafo = NULL)
Arguments
trafo
transformation for expectation calculation, see details.
Value
The given expectation as a numeric, otherwise NULL.