fitPvalue: Return the P-value from an F-test for a linear model
Description
This functions the P-value from the (null) hypothesis that all of the
linear predictors are zero or not-significant.
Usage
fitPvalue(fit)
Arguments
fit
a lm object.
Value
A P-value
Details
summary returns an invisible vector called fstatistic that
contains the F-statistic and the degrees of freedom used to test the
hypothesis that all of the linear predictors are zero or
not-significant. This function takes those values and returns the
appropriate upper tail probability from the F-distribution.