R/hypothesize.R
test_stat.Rd
Extract the test statistic from a hypothesis test
test_stat(x, ...) # S3 method for class 'hypothesis_test' test_stat(x, ...)
a hypothesis test object
additional arguments to pass into the method
Numeric test statistic.
w <- wald_test(estimate = 2.5, se = 0.8) test_stat(w) #> [1] 9.765625