Skip to contents

Summary table for Rdrobust estimates to export using kableExtra

Usage

rdr_export(rdr_out, prec = 3)

Arguments

rdr_out

Rdrobust object

prec

decimal places

Examples

if (FALSE) {
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")
}