autoplot.microbenchmark: Autoplot method for microbenchmark objects: Prettier graphs...

Description Usage Arguments Value

Description

Uses ggplot2 to produce a more legible graph of microbenchmark timings

Usage

1
2
3
  ## S3 method for class 'microbenchmark'
 autoplot(object, ...,
    y_max = max(by(object$time, object[["expr"]], uq)) * 1.05)

Arguments

object

A microbenchmark object

...

Ignored

y_max

The upper limit of the y axis (defaults to 5 percent more than the maximum value)

Value

A ggplot2 plot


gsk3/taRifx documentation built on May 17, 2019, 8:55 a.m.