Hello,
No, your memory is wrong, like you say.
summary(lm(.)) returns a matrix with the 4th column named "Pr(>|t|)",
not "p.value". And this hasn't changed. If you want the p-values, the
(old) way to do it still is
summary(lm(.))$coefficients[, 4]
or, more complicated,
R 3.6.1
OS X
Colleagues
My recollection (possibly wrong) is that:
summary(lm(YVAR ~ XVAR))$p.value
used to return the P value for a linear regression. It does not appear to do
so now.
Of note:
summary(lm(YVAR ~ XVAR))
does report the P value.
I realize that I can access the
2 matches
Mail list logo