Takes a BenchDesign
object and the name of an
existing method
and returns a reduced BenchDesign
object with the
method removed.
dropMethod(bd, label)
bd |
|
---|---|
label | Character name of method. |
Modified BenchDesign
object with
specified method dropped.
## empty BenchDesign bench <- BenchDesign() ## add methods bench <- addMethod(bench, label = "bonf", func = p.adjust, params = rlang::quos(p = pval, method = "bonferroni")) bench <- addMethod(bench, label = "BH", func = p.adjust, params = rlang::quos(p = pval, method = "BH")) BDMethodList(bench)#> BenchDesign Method List (BDMethodList) --------------------- #> list of 2 methods #> method: bonf; func: p.adjust #> method: BH; func: p.adjust#> BenchDesign Method List (BDMethodList) --------------------- #> list of 1 method #> method: BH; func: p.adjust