View source: R/univariate_dist.R
expectation.univariate_dist | R Documentation |
f
with respect to a
univariate_dist
object x
.Assumes the support is a contiguous interval that has operations for retrieving the lower and upper bounds.
## S3 method for class 'univariate_dist'
expectation(x, g, ..., control = list())
x |
The distribution object. |
g |
The function to take the expectation of. |
... |
Additional arguments to pass into |
control |
An (optional) list of control parameters for |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.