Calculate the vulnerability

sample_vuln(func = NULL, params = NULL)

Arguments

func

Function to use to simulate VULN, defaults to rbinom.

params

Optional parameters to pass to func.

Value

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

See also