[R] How to make a Latex table using R

ravenween ewiener at emory.edu
Fri May 16 01:47:37 CEST 2014


stargazer is the best. 
http://cran.r-project.org/web/packages/stargazer/stargazer.pdf
<http://cran.r-project.org/web/packages/stargazer/stargazer.pdf>   heres an
example code:

stargazer(women_con_mod, women_con_mod,
          se = list(WCM_naive.std.err,WCM_rob.std.err), 
          title="Regression Results", 
          align=TRUE, 
          dep.var.labels=c("Political Participation"), 
          covariate.labels=c("Religiosity * Conservative","Religiosity",
"Education","Black","Hispanic","Family Income", "Volunteer Associations",
"Age"),  
          no.space=TRUE, 
          omit.stat=c("LL","ser","f", "rsq"),
          column.labels=c("Naive SE", "Robust SE"), 
          dep.var.caption="", 
          model.numbers=FALSE)


Above, I am just comparing one regression to the same regression with robust
standard errors. Its beautiful, works perfectly by copy-paste in Latexian,
at the very least. 



--
View this message in context: http://r.789695.n4.nabble.com/How-to-make-a-Latex-table-using-R-tp4690647p4690676.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list