Add a row with notes using stargazer

前端 未结 1 1697
旧巷少年郎
旧巷少年郎 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)
提交回复
热议问题