outreg | R Documentation |
Wrapper based on stargazer
to print regression tables.
outreg( x, caption = NULL, label = NULL, notes = NULL, tab.layout = "-m#c-to-s-", ... )
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) |
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.