Composition function for use in
sample_vuln, does a simple
compare of all threat events where the threat capability (TC) is greater
than the difficulty (DIFF).
select_loss_opportunities(tc, diff, n = NULL, ...)
Threat capability (as a percentage).
Difficulty (as a percentage).
Number of samples to generate.
Optional parameters (currently ignored).
List containing boolean values of length TC (as a vector) and details (as a list).
Other OpenFAIR helpers: