get_pValue_lm: Get p-value from 'lm'

Description Usage Arguments Value Author(s) See Also Examples

Description

Returns the model p-value, rounded to desired number of decimals, from a lm object

Usage

1
get_pValue_lm(lmobject, Round = 6)

Arguments

lmobject

This should be an output from lm

Round

The desired number of places of decimals for the p-value

Value

pValue of the whole model is returned

Author(s)

Subhrangshu Nandi, PhD Statistics, UW Madison; snandi@wisc.edu or nands31@gmail.com

See Also

lm

Examples

1
2
data( cars )
get_pValue_lm( lm( speed ~ dist, data = cars ), 4 )

snandi/RFunctionsSN documentation built on May 30, 2019, 5:04 a.m.