calibrate {brada} | R Documentation |
calibrate
Description
Calibrates a brada object to achieve specified false-positive and false-negative rates.
Usage
calibrate(brada_object, nsim = 100, cores = 2, seq,
alpha=NULL, beta=NULL, calibration = "nu")
Arguments
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 |
Value
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.
Author(s)
Riko Kelter