我想通过使用以下评论获得回归结果的乳胶表;
Analysis1 <- glm(y~x, data=data1, family=quasibinomial(link="logit"))
summary(Analysis1)
texreg(list(Analysis1),dcolumn = TRUE, booktabs = TRUE,
use.packages = TRUE, label = "tab:1",
caption = "Regression Estimation Results",float.pos = "hb")
然而,这个“texreg”命令给出了原始输出而不是干净的表;
\begin{table}[ht]
\centering
\begin{tabular}{rrrrr}
\hline
& Estimate & Std. Error & t value & Pr($>$$|$t$|$) \\
\hline
(Intercept) & 0.7686 & 0.0125 & 61.37 & 0.0000 \\
x & -0.0166 & 0.0069 & -2.41 & 0.0170 \\
\hline
\end{tabular}
\end{table}
您能否帮助我如何通过在 R 中使用 texreg 命令获得干净的回归结果表?