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
> I want to export the coefficient values and p-values from my regression
> output into a spreadsheet. Is there a way to do this?





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

______________________________________________
R-help@r-project.org mailing list
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