R/openfair.R
select_loss_opportunities.Rd
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:
compare_tef_vuln()
,
get_mean_control_strength()
,
openfair_tef_tc_diff_lm()
,
sample_diff()
,
sample_lef()
,
sample_lm()
,
sample_tc()
,
sample_vuln()