Skip to contents

Side-by-side regression table for multiple model fits

Usage

regression_table(
  models,
  exponentiate = FALSE,
  show_ci = TRUE,
  show_stars = TRUE,
  confidence = 0.95,
  digits = 3L,
  model_stats = c("nobs", "rsquared", "aic", "bic", "llf"),
  apa = FALSE,
  output_format = "dataframe",
  title = "Regression Results"
)

Arguments

models

Named list of fitted models (e.g. lm, glm).

exponentiate

Exponentiate coefficients (for OR / HR).

show_ci

Include CI line under each coefficient.

show_stars

Append significance stars.

confidence

Confidence level for CIs.

digits

Decimal places.

model_stats

Vector of model-stat keys from c("nobs","rsquared","aic","bic","llf").

apa

APA p-value formatting.

output_format

Output target.

title

Title.