Learn R Programming

ffp (version 0.2.2)

ens: Effective Number of Scenarios

Description

Shows how many scenarios are effectively been considered when using flexible probabilities.

Usage

ens(p)

Value

A single double.

Arguments

p

An object of the ffp class.

Examples

Run this code
set.seed(123)
p <- exp_decay(stats::rnorm(100), 0.01)

# ens is smaller than 100
ens(p)

Run the code above in your browser using DataLab