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

后端 未结 6 1369
广开言路
广开言路 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:10

    Check out the apsrtable table package in CRAN Which creates American Political Science Review style tables which look roughly like what I think you want. It takes lm and glm models as well some non-linear models from some packages. It also has a long series of options for generating stars at particular levels and such. There's a nice vingette and it generates both LaTeX and HTML tables which can then be added to OpenOffice/Word.

    I've been using it for 2-3 years now and it continues to be under active development. I've just looked quickly but it seems much more solid/featureful than outreg.

提交回复
热议问题