rdr_export | R Documentation |
Summary table for Rdrobust estimates to export using kableExtra
rdr_export(rdr_out, prec = 3)
rdr_out |
Rdrobust object |
prec |
decimal places |
## Not run:
rdrobust(df$vote, df$margin, all = T) %>% rdr_export -> rdre
rdre %>%
kable(, format = "latex", booktabs = T) %>%
collapse_rows(columns = 1, latex_hline = "major", valign = "middle") %>%
cat(., file = "table.tex")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.