Sample threat capabilities (TC) from a distribution function

sample_tc(n, params = NULL, .func = NULL)

Arguments

n

Number of samples to generate.

params

Optional parameters to pass to .func.

.func

Function to use to simulate TC, defaults to rpert.

Value

List containing type ("tc"), samples (as a vector), and details (as a list).

See also

Other OpenFAIR helpers: compare_tef_vuln, get_mean_control_strength, openfair_tef_tc_diff_lm, sample_diff, sample_lef, sample_lm, sample_vuln, select_loss_opportunities