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

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

    A while ago I stumbled across the outreg function by Paul Johnson.

    You can directly apply outreg to your lm object and combine several lm outputs into one, nice latex table.

    Here you find an example .pdf

    outreg examples

    and the code for the function

    outreg code

    general homepage by Paul Johnson

    Paul Johnson

提交回复
热议问题