Re: [R] Extract p-value from lm for the whole model

2010-02-05 Thread S Ellison
> I would like to ask how to extract the p-value for the whole model > from > summary(lm). If you mean the p-value given at the end of the summary() printout, it isn;t held in the summary object. But information to get it is. Using the ?lm example: ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,

Re: [R] Extract p-value from lm for the whole model

2010-02-05 Thread David Winsemius
1:54 AM To: r-help@r-project.org Subject: [R] Extract p-value from lm for the whole model Dear all, I would like to ask how to extract the p-value for the whole model from summary(lm). This didn't help a lot summary.lm summary(lm(speed~dist, cars)) Thanks a lot! David Winsemius, MD Her

Re: [R] Extract p-value from lm for the whole model

2010-02-05 Thread Turchin, Michael
[R] Extract p-value from lm for the whole model Dear all, I would like to ask how to extract the p-value for the whole model from summary(lm). This didn't help a lot summary.lm summary(lm(speed~dist, cars)) Thanks a lot! [[alternative HTML version

Re: [R] Extract p-value from lm for the whole model

2010-02-05 Thread David Winsemius
On Feb 5, 2010, at 11:54 AM, Trafim Vanishek wrote: Dear all, I would like to ask how to extract the p-value for the whole model from summary(lm). This didn't help a lot summary.lm I disagree. The help page tells you that "coefficients" has the p- values sogo ahead and get them: > summ

[R] Extract p-value from lm for the whole model

2010-02-05 Thread Trafim Vanishek
Dear all, I would like to ask how to extract the p-value for the whole model from summary(lm). This didn't help a lot summary.lm summary(lm(speed~dist, cars)) Thanks a lot! [[alternative HTML version deleted]] __ R-help@r-project.org mailing