Learn R Programming

hypothesize (version 0.11.0)

pval: Extract the p-value from a hypothesis test

Description

Extract the p-value from a hypothesis test

Usage

pval(x, ...)

# S3 method for hypothesis_test pval(x, ...)

Value

Numeric p-value.

Arguments

x

a hypothesis test object

...

additional arguments to pass into the method

Examples

Run this code
w <- wald_test(estimate = 2.5, se = 0.8)
pval(w)

Run the code above in your browser using DataLab