functional: Obtain Functionals from a CopRe Result

View source: R/functional.R

functionalR Documentation

Obtain Functionals from a CopRe Result

Description

Obtain Functionals from a CopRe Result

Usage

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

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.

Value

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


copre documentation built on May 29, 2024, 7:36 a.m.