Calculate the vulnerability
sample_vuln(n, .func = NULL, params = NULL)
Number of samples to generate.
Function to use to simulate VULN, defaults to rbinom
.
Optional parameters to pass to .func
.
List containing type ("vuln"), samples (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()
,
select_loss_opportunities()