Obtain Functionals from a CopRe Result
functional(obj, f, ..., mean = FALSE)
The integral over the copre_result
grid of the functions in the
list multiplied by the density of each sample distribution in obj
.
A copre_result
object.
A list of functions.
Additional arguments passed to f
.
A logical value indicating whether or not to obtain the functional from the pointwise mean of the sampled distributions or from each individually.