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