| dropMethod {SummarizedBenchmark} | R Documentation |
This function takes a BenchDesign object and the name of a method already defined in the object, and returns a reduced BenchDesign object with the specified method removed.
dropMethod(bd, label)
bd |
BenchDesign object. |
label |
Character name of method to be modified. |
Modified BenchDesign object.
Patrick Kimes
## 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"))
## remove methods
bench <- dropMethod(bench, label = "bonf")