f with respect to
x.R/generic_dist.R
expectation.RdGeneric method for obtaining the expectation of f with respect to
x.
expectation(x, g, ...)The distribution object.
The function to take the expectation of.
Additional arguments to pass into g.