I want to run some regressions and create a table with stargazer. For example
linear.1 <- lm(rating ~ complaints + privileges + learning + raises + critical,
stargazer(linear.1, linear.2, type="text", keep.stat=c("n"), add.lines=list(c("Note 1", "X", ""), c("Note 2", "", "X")))
Does the trick.