Print and summary methods for benchmark results.
# S3 method for class 'dml_benchmark'
print(
x,
digits = max(3L, getOption("digits") - 3L),
combine.method = "median",
...
)
# S3 method for class 'dml_benchmark'
summary(object, combine.method = c("median", "mean"), na.rm = TRUE, ...)
# S3 method for class 'summary_dml_benchmark'
print(x, digits = max(3L, getOption("digits") - 3L), ...)an object of class dml_benchmark.
minimal number of significant digits.
method to combine cross-fitting repetitions. Either
"median" (default) or "mean".
arguments passed to other methods.
an object of class dml_benchmark.
logical. Should NA values be removed? Default is TRUE.
For print: the object, printed to console. For summary:
an object of class summary_dml_benchmark holding a table of the
benchmark components – the gains gain.Y and
gain.D, the alignment rho, and the change in estimate
delta – each with a standard error derived from its influence
function and combined across cross-fitting repetitions.