Skip to contents

Compare Time with a Benchmark

Usage

benchmark_time(
  data,
  column,
  benchmark,
  alpha,
  remove_missing = FALSE,
  input = "long",
  output = "console"
)

Arguments

data

dataframe

column

a column or vector of time values

benchmark

benchmark

alpha

alpha

remove_missing

TRUE/FALSE (Default is TRUE)

input

Default: "long" - long form of data, "values" to pass values directly. If using this option, must specify count and total.

output

Default: "console" - prints output in console and returns tibble invisibly.

Value

lower_ci, upper_ci, t, probability

Examples

data <- data.frame(time = c(60, 53, 70, 42, 62, 43, 81))
benchmark_time(data, column = time, benchmark = 60, alpha = 0.05)
#> 
#> ── Compare Time with a Benchmark ───────────────────────────────────────────────
#>   term          t.result_table.  
#>   lower_ci                 45.8  
#>   upper_ci                 71.7  
#>   t                       0.509  
#>   probability             0.314