1
每次我添加align = TRUE時,文檔都不會編織。我想要對齊每列的係數,以使它們的小數位數直接高於/低於對方。如何使用R Markdown中的觀星者對齊係數?
這裏是我的 「塊碼」
```{r, results="asis", echo="FALSE", eval="TRUE"}
library(stargazer)
stargazer(model1, model2, model3, type = "latex",
title = "Country Deaths from Political Violence in 1975",
dep.var.labels.include = FALSE, dep.var.caption = "Deaths",
digits = 1, header = FALSE,
covariate.labels = c("Intercept", "Sanctions", "Political Rights",
"Upper 20 percent income share",
"Interaction of Political Rights and Sanctions"))
```