简体   繁体   English

在 R 中使用 texreg(),如何在生成的 LaTeX 表中添加一行

[英]Using texreg() in R, how to add a line in generated LaTeX table

How can I add to a table a (text or empty) line in the middle of a LaTeX tabular environment generated with texreg() from a regression result.如何从回归结果中使用texreg()生成的 LaTeX 表格环境中间的(文本或空)行添加到表格中。 In the example below, I would like to add the empty line and a line with Subtitle for Coefficients Below .在下面的示例中,我想添加空行和带有Subtitle for Coefficients below 的行。 The Coefficients 1 - 4 are from the regression and are selected and sorted using custom.coef.map = in texreg() .系数 1 - 4 来自回归,并使用custom.coef.map = in texreg()进行选择和排序。

Variable多变的 Model 1 Model 1
Coefficient of Variable 1变量 1 的系数 999.99 999.99
Coefficient of Variable 2变量 2 的系数 999.99 999.99
Subtitle for Coefficients Below下面的系数副标题
Coefficient of Variable 3变量 3 的系数 111.11 111.11
Coefficient of Variable 4变量 4 的系数 111.11 111.11

Thanks for any suggestions!感谢您的任何建议!

Use the argument groups = list("Subtitle for coefficients below" = 3:4) or similar.使用参数groups = list("Subtitle for coefficients below" = 3:4)或类似参数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM