Category Archives: Tables

stargazer R package to create LaTeX code

stargazer is an R package that can help you create LATEX code for summary statistics tables, data frames, vectors and matrices. Once stargazer package is installed and activated it is really easy to use! Here is an example:

stargazer

stargazer(diamonds,title="Summary−DVFMTSC−> statistics−DVFMTSC−> of−DVFMTSC−> 'diamonds'−DVFMTSC−> data−DVFMTSC−> frame",align=TRUE)