printMethod {SummarizedBenchmark}R Documentation

Pretty print methods in a BenchDesign object

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

printMethod(bd, n = NULL)

printMethods(bd)

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

## 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)


[Package SummarizedBenchmark version 2.12.0 Index]