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

Description Usage Arguments Details Value

View source: R/pval.R

Description

Extract a p-value fomr a test result.

Usage

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

Arguments

x

a testing result object

extended

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

...

extra agruments

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 incldues extra information such as


dostats documentation built on May 2, 2019, 5:09 a.m.