Message-ID: <1352518275505-4649156.post@n4.nabble.com>
Date: 2012-11-10T03:31:15Z
From: chuck.01
Subject: Is there a way to export regression output to an excel spreadsheet?
In-Reply-To: <1352517200046-4649155.post@n4.nabble.com>
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.