Combining several regression tables into one for use in xtable with Sweave in R

后端 未结 6 1368
广开言路
广开言路 2020-12-29 13:19

xtable in Sweave works awesome, but does one table per regression. You can feed it a data frame, too, so I have been manually rbinding

6条回答
  •  太阳男子
    2020-12-29 14:17

    Here's one more options I saw go by CRANberries that reminded me of this question:

    texreg — Looking at the vingette, it seems to do a really nice job of generating pretty standard regression tables in R and which is under very active development at time of writing.

    Update: I've been playing around with a few of these and I think that over time, texreg has become the leader leader in this space in terms of it maturity, stability, and featurefulness. Most important to me, it works with a variety of models and does wonderfully handy things like bootstrap standard errors to build stars for lme4() models — something that the package itself makes a little tricky to get (for good reasons) but that reviewers and journals often demand nonetheless. I would strongly recommend using texreg. It seems to be actively maintained.

提交回复
热议问题