summary_table: Generate formatted regression tables

View source: R/summary_table.R

summary_tableR Documentation

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
)

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

Value

A formatted table

Examples

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

capybara documentation built on April 11, 2025, 5:41 p.m.