Learn R Programming

ascii (version 2.6)

ascii.microbenchmark: Ascii formatting for a microbenchmark

Description

The default implementation returns an asciiMixed object with the units for the first element.

Usage

# S3 method for microbenchmark
ascii(x, unit, order, signif, row.names = FALSE, caption = NULL, ...)

Value

ascii object

Arguments

x

an object of class 'microbenchmark'

unit

What unit to print the timings in. Default value taken from the option 'microbenchmark.unit'

order

If present, order results according to this column of the output.

signif

If present, limit the limit of significant digits shown.

row.names

Argument passed to ascii

caption

logical; if not NULL, then add caption with units specified; otherwise, add units as part of an asciiMixed object.

...

Other parameters to pass to ascii for the summary table