calibrate | R Documentation |
Calibrates a brada object to achieve specified false-positive and false-negative rates.
calibrate(brada_object, nsim = 100, cores = 2, seq, alpha=NULL, beta=NULL, calibration = "nu")
brada_object |
An object of class |
nsim |
Number of Monte Carlo iterations |
cores |
Number of cores used for computation |
seq |
Sequence of values for the evidence threshold |
alpha |
Upper bound for false-positive rate. Note that it is only possible to specify either |
beta |
Upper bound for false-negative rate |
calibration |
String which specifies which parameter to calibrate. Can take the values |
Prints the output to the console and returns the false-positive rate or false-negative rate of the calibrated design, depending on which value the calibration
argument takes.
Riko Kelter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.