compare: Include confidence intervals

This commit is contained in:
Elias Projahn 2022-06-03 17:41:45 +02:00
parent 3217c9bd29
commit 3df4ec5d89
3 changed files with 27 additions and 21 deletions

View file

@ -29,6 +29,17 @@ cached <- function(name, objects, expr) {
data
}
#' Format and round a numeric value.
#'
#' @param number The number to use.
#' @param digits Number of decimal places.
#'
#' @return A character value.
#' @noRd
num <- function(number, digits) {
format(round(number, digits = digits), nsmall = digits)
}
# This is needed to make data.table's symbols available within the package.
#' @import data.table
NULL