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

View source: R/pval.R

pvalR Documentation

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.

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.

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


dostats documentation built on May 11, 2022, 1:08 a.m.