get_p_value: Get p-value from F statistic data.

Description Usage Arguments Details Value

Description

Get p-value from F statistic data in the summary of an lm object.

Usage

1
get_p_value(fstat)

Arguments

fstat

A numeric vector of length three obtained from a linear model fit.

Details

This is an internal function that extracts the p-value from the information generated by a call to the summary function on a lm object. It uses the F statistic value and the degrees of freedom in order to compute the p-value.

Value

The computed p-value.


Keyeoh/svconfound documentation built on May 15, 2019, 1:25 p.m.