Aug 14, 2015 at 9:45 AM
Edited Aug 14, 2015 at 10:09 AM

Hi,
I'd like to know how to access the pvalue in a regression model.
The code below will print out regression statistics, including the pvalue, but
how can I access the pvalue in m?
> m < lm(y ~ u + v + w)
> summary(m)



After some googling I found out how you can access the pvalues of the coefficients:
> summ < summary(m)
> pvalues < summ$coefficients[, 4]

