printMethod: Pretty print methods in a BenchDesign object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/printMethod.R

Description

Print out details about a method included in the BenchDesign. The printMethods function is just a wrapper to call printMethod on all methods in the BenchDesign.

Usage

1
2
3

Arguments

bd

BenchDesign object.

n

name of a method in the BenchDesign to show.

Value

Brief description is returned to console.

Author(s)

Patrick Kimes

See Also

BDMethod-class, BenchDesign-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## create empty BenchDesign
bench <- BenchDesign()

## currently no methods
printMethods(bench)

## add method
bench <- addMethod(bench, label = "method_a", p.adjust)
bench <- addMethod(bench, label = "method_b", qvalue::qvalue)

## show a single method
printMethod(bench, "method_a")

## show all methods
printMethods(bench)

areyesq89/SummarizedBenchmark documentation built on Sept. 2, 2021, 4:15 p.m.