powered by
Extract the p-value from a hypothesis test
pval(x, ...)# S3 method for hypothesis_test pval(x, ...)
# S3 method for hypothesis_test pval(x, ...)
Numeric p-value.
a hypothesis test object
additional arguments to pass into the method
w <- wald_test(estimate = 2.5, se = 0.8) pval(w)
Run the code above in your browser using DataLab