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