Stargazer column on multiple lines *with multiple models*?
问题 Similar question as Getting Stargazer Column labels to print on two or three lines?. I have long model titles that I would like to print on several lines while showing the results for multiple models . Unfortunately, the answer to the other question does not work in this case. var1<-rnorm(100) var2<-rnorm(100) df<-data.frame(var1, var2) mod<-lm(var1~var2) library(stargazer) stargazer(mod, mod, column.labels=c('my models\\\\ & need long titles', 'my models\\\\ & need long titles')) yields