This function runs statistical benchmarks, including Power / Type I error simulations for an arbitrary test with a control parameter
runBenchmarks(calculateStatistics, controlValues = NULL, nRep = 10,
alpha = 0.05, parallel = F, ...)
the statistics to be benchmarked. Should return one value, or a vector of values. If controlValues are given, must accept a paramteter control
a vector with a control parameter (e.g. to vary the strength of a problem the test should be specific to)
number of replicates per level of the controlValues
significance level
whether to use parallel computations. Possible values are F, T (sets the cores automatically to number of available cores -1), or an integer number for the number of cores that should be used for the cluster
additional parameters to calculateStatistics