Skip to content

Instantly share code, notes, and snippets.

@mbannert
Created January 14, 2017 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbannert/be52daca3455da02965e73ff521097ed to your computer and use it in GitHub Desktop.
Save mbannert/be52daca3455da02965e73ff521097ed to your computer and use it in GitHub Desktop.
\documentclass{article}
\begin{document}
<<regression,results='asis'>>=
library(texreg)
data(mtcars)
fit1 <- lm(mpg~wt+disp,data=mtcars)
texreg(fit1)
@
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment