Creates a correct_control object

correction(FUN, ...)

Arguments

FUN

a correction to perform. components must be the first argument

...

additional arguments passed to FUN

Value

a correct_control object

Examples

correction(FUN = fay_bias_correction, b = 0.75)
#> An object of class "correct_control"
#> Slot ".FUN":
#> function (components, b = 0.75) 
#> {
#>     corrected_matrices <- fay_bias_correction_partial(components, 
#>         b = b)
#>     compute_sigma(A = grab_bread(components), B = corrected_matrices$Bbc)
#> }
#> <bytecode: 0x7fea445f0058>
#> <environment: namespace:geex>
#> 
#> Slot ".options":
#> $b
#> [1] 0.75
#> 
#>