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
Optional parameters to pass to
List containing type ("diff"), samples (as a vector), and details (as a list).