Print and summary methods for benchmark results.

# S3 method for class 'dml_benchmark'
print(
  x,
  digits = max(3L, getOption("digits") - 3L),
  combine.method = "mean",
  ...
)

# S3 method for class 'dml_benchmark'
summary(object, combine.method = "mean", na.rm = TRUE, ...)

Arguments

x

an object of class dml_benchmark.

digits

minimal number of significant digits.

combine.method

method to combine results. Default is "mean".

...

arguments passed to other methods.

object

an object of class dml_benchmark.

na.rm

logical. Should NA values be removed? Default is TRUE.

Value

For print: the object, printed to console. For summary: the object with aggregated benchmarks.