Description Usage Arguments Value See Also Examples
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).
1 | select_loss_opportunities(tc, diff, n = NULL, ...)
|
tc |
Threat capability (as a percentage). |
diff |
Difficulty (as a percentage). |
n |
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()
1 2 3 | threat_capabilities <- c(.1, .5, .9)
difficulties <- c(.09, .6, .8)
select_loss_opportunities(threat_capabilities, difficulties)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.