outreg: Print regression results with notes

View source: R/outreg.R

outregR Documentation

Print regression results with notes

Description

Wrapper based on stargazer to print regression tables.

Usage

outreg(
  x,
  caption = NULL,
  label = NULL,
  notes = NULL,
  tab.layout = "-m#c-to-s-",
  ...
)

Arguments

x

object or list of fitted regression objects (see stargazer manual)

caption

string with table's title

label

string with latex's label

...

additional options (see stargazer)

Examples

ols.1 <- lm(mpg ~ cyl, mtcars)
ols.2 <- update(ols.1, ~ . + gear)
ols.3 <- update(ols.1, ~ . + am + I(gear^2))
models <- list(baseline=ols.1, gear=ols.2, fe=ols.3)
outreg(models, column.labels=names(models)
       , caption="Table's caption", label="my label", notes="My notes")

mrblasco/blasco documentation built on Nov. 22, 2022, 9:17 a.m.