Learn R Programming

dostats (version 1.3.3)

pval: Extract a p-value from a test result.

Description

Extract a p-value from a test result.

Usage

pval(x, extended = F, ...)

Arguments

x

a testing result object

extended

should an extended result be given or a single p-value.

...

extra arguments passed to methods.

Value

either a single value (extended=FALSE) representing the p-value of the test or a single row. data.frame object that also includes extra information such as

Details

This is a generic helper function for extracting p values from objects. The idea being to extract the overall p-value for the model that can be interpreted simply.