This is a slightly modified version of the excellent stargazer package by Marek Hlavac.
In contrast to the main package, this fork outputs tables which use the booktabs commands \toprule
\midrule
and \bottomrule
for horizontal rules.
To install:
install.packages("devtools")
library(devtools)
install_github("markwestcott34/stargazer-booktabs")
Make sure you include \usepackage{booktabs}
in your LaTeX preamble.
See the vignette for example output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.