Extract the degrees of freedom from a hypothesis test

dof(x, ...)

# S3 method for class 'hypothesis_test'
dof(x, ...)

Arguments

x

a hypothesis test object

...

additional arguments to pass into the method

Value

Numeric degrees of freedom.

Examples

w <- wald_test(estimate = 2.5, se = 0.8)
dof(w)
#> [1] 1