f
with respect to a
univariate_dist
object x
.R/univariate_dist.R
expectation.univariate_dist.Rd
Assumes the support is a contiguous interval that has operations for retrieving the lower and upper bounds.
# S3 method for univariate_dist
expectation(x, g, ..., control = list())
The distribution object.
The function to take the expectation of.
Additional arguments to pass into g
.
An (optional) list of control parameters for integrate
or
expectation_data
(if x
is not continuous)