Add a row with notes using stargazer

前端 未结 1 1696
旧巷少年郎
旧巷少年郎 2021-02-05 17:05

I want to run some regressions and create a table with stargazer. For example

linear.1 <- lm(rating ~ complaints + privileges + learning + raises + critical,          


        
1条回答
  •  别那么骄傲
    2021-02-05 17:22

    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.

    0 讨论(0)
提交回复
热议问题