knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
A Clone of
stargazer 5.2.2 that
properly prints the dependent variable from a list of felm
models. Installing stargazer from this repo yields the output from a list of felm
models:
library(lfe); library(stargazer) data(mtcars) mtcars$cyl <- as.factor(mtcars$cyl) ## -- Current Implementation -- ## f <- list( mpg ~ wt | 0 | 0 | 0, mpg ~ wt + hp | 0 | 0 | 0, disp ~ wt + hp | 0 | 0 | 0 ) mods <- lapply(f, felm, data = mtcars) stargazer(mods, type = "text")
You can install stargazer from github with:
# install.packages("devtools") devtools::install_github("ChandlerLutz/stargazer")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.