expectation: Generic method for obtaining the expectation of 'f' with...

View source: R/generic_dist.R

expectationR Documentation

Generic method for obtaining the expectation of f with respect to x.

Description

Generic method for obtaining the expectation of f with respect to x.

Usage

expectation(x, g, ...)

Arguments

x

The distribution object.

g

The function to take the expectation of.

...

Additional arguments to pass into g.


queelius/algebraic.dist documentation built on Jan. 27, 2025, 8:46 a.m.