Learn R Programming

capybara (version 0.9.3)

summary_table: Generate formatted regression tables

Description

Generate formatted regression tables

Usage

summary_table(
  ...,
  coef_digits = 3,
  se_digits = 3,
  stars = TRUE,
  latex = FALSE,
  model_names = NULL
)

Value

A formatted table

Arguments

...

One or more model objects of felm or feglm class.

coef_digits

Number of digits for coefficients. The default is 3.

se_digits

Number of digits for standard errors. The default is 3.

stars

Whether to include significance stars. The default is TRUE.

latex

Whether to output as LaTeX code. The default is FALSE.

model_names

Optional vector of custom model names

Examples

Run this code
m1 <- felm(mpg ~ wt | cyl, mtcars)
m2 <- fepoisson(mpg ~ wt | cyl, mtcars)
summary_table(m1, m2, model_names = c("Linear", "Poisson"))

Run the code above in your browser using DataLab