R/openfair.R
sample_diff.Rd
Calculate the difficulty presented by controls, given a function and parameters for that function
sample_diff(n, .func = NULL, params = NULL)
Number of samples to generate.
Function to use to simulate DIFF, defaults to rpert
.
Optional parameters to pass to .func
.
List containing type ("diff"), 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_lef()
,
sample_lm()
,
sample_tc()
,
sample_vuln()
,
select_loss_opportunities()