Learn R Programming

copre (version 0.2.1)

functional: Obtain Functionals from a CopRe Result

Description

Obtain Functionals from a CopRe Result

Usage

functional(obj, f, ..., mean = FALSE)

Value

The integral over the copre_result grid of the functions in the list multiplied by the density of each sample distribution in obj.

Arguments

obj

A copre_result object.

f

A list of functions.

...

Additional arguments passed to f.

mean

A logical value indicating whether or not to obtain the functional from the pointwise mean of the sampled distributions or from each individually.