Skip to content
Prev 205628 / 398506 Next

Extract p-value from linear model

coef(summary(lm(..stuff..)))[,4]
or
  coef(summary(lm(..stuff..)))[,4,drop=FALSE]

  -Peter Ehlers
Trafim Vanishek wrote: