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 P value from:
        summary(lm(YVAR ~ XVAR))$coeff
but I am curious as to whether my memory is flawed.

Dennis

Dennis Fisher MD
P < (The "P Less Than" Company)
Phone / Fax: 1-866-PLessThan (1-866-753-7784)
www.PLessThan.com <http://www.plessthan.com/>





        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to