R - stargazer add reference categories
问题 I was wondering if someone came with a solution to show up the reference categories of categorical variables using stargazer ? library(stargazer) Let us imagine that gear and carb are categorical variables mtcars$gear = factor(mtcars$gear) mtcars$carb = factor(mtcars$carb) I run an ols with lm1 = lm(disp ~ gear + carb, mtcars) and stargaze the results. stargazer(lm1, single.row = TRUE, omit.table.layout = "sn") I get However, I find myself always going back to the tex file to custom the