[R] Did the output from summary(lm(...)) change

Dennis Fisher ||@her @end|ng |rom p|e@@th@n@com
Fri Jan 24 22:27:53 CET 2020


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]]



More information about the R-help mailing list