R/openfair.R
compare_tef_vuln.Rd
Composition function for use in sample_lef
. Given a count of
the number of threat events (TEF) and the level of vulnerability (as a
percentage), calculate how many of those become loss events (LEF).
compare_tef_vuln(tef, vuln, n = NULL)
tef | Threat event frequency (n). |
---|---|
vuln | Vulnerability (percentage). |
n | Number of samples to generate. |
List containing samples (as a vector) and details (as a list).
Other OpenFAIR helpers:
get_mean_control_strength()
,
openfair_tef_tc_diff_lm()
,
sample_diff()
,
sample_lef()
,
sample_lm()
,
sample_tc()
,
sample_vuln()
,
select_loss_opportunities()
compare_tef_vuln(tef = 500, vuln = .25)#> $samples #> [1] 125 #> #> $details #> list() #>