Skip to content
Prev 310470 / 398506 Next

Is there a way to export regression output to an excel spreadsheet?

Yes.

see:
?lm
?coef
?write.csv

also, if 
fit <- lm(Y~X)
then:
slope_p-value <-  summary(fit)[[4]][2,4]

Double check that last one for yourself. 
Good luck. 




hoguejm wrote
--
View this message in context: http://r.789695.n4.nabble.com/Is-there-a-way-to-export-regression-output-to-an-excel-spreadsheet-tp4649155p4649156.html
Sent from the R help mailing list archive at Nabble.com.