在 fixst::etable 中,有没有办法更改 p 值的字体大小和脚注?我目前正在研究文档等,以便能够使用我的首选设置在 etable 中输出 pdf 表。
我想调整表格的字体大小,因为我正在使用的数据有很多变量,不适合 A4 大小。此外,默认情况下,在 etable 中,p 值显着性的脚注是Signif. Codes: ***: 0.001, **: 0.01, *: 0.05, , .: 0.1
. 有什么办法可以改变这个吗?具体来说,我想使用 LaTeX 代码来显示*** $p < 0.001$; ** $p < 0.01$; * $p < 0.05$; + $p < 0.1$
.
这是测试数据。
mtcars %>%
feols(c(mpg, wt) ~ sw(disp, hp)) %>%
esttex(
title = "Test Model",
style.tex = style.tex(
model.title = "",
var.title = "\\midrule Vars",
depvar.title = "",
fixef.title = "",
fixef.suffix = "\\midrule fe",
stats.title = "\\midrule stats",
yesNo = "yes"
),
drop = "Intercept",
digits = "r3",
digits.stats = "r3",
order = c("hp", "disp"),
dict = c(hp = "HP", "disp" = "DISP"),
signifCode = c("***" = 0.001, "**" = 0.01, "*" = 0.05, "." = 0.10)
)