functional {copre}R 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.


[Package copre version 0.2.1 Index]