## Overview

**Stargazer** is an easy-to-use R package that creates nicely-formatted, high-quality tables from your R data in ASCII,
\(\LaTeX\)
, and HTML code.

It automatically recognizes the kind of data you provide. If you provide a set of regression model objects, it will produce a regression table. Instead, if you feed it with a data frame, it will produce a summary statistics table.

## An Example

Convert regression coefficients of `mdl_1`

and `mdl_2`

into a HTML file that can be copied into a paper.

```
library(stargazer)
stargazer(mdl_1, mdl_2,
title = "Figure 1",
column.labels = c("Model 1", "Model 2"),
type="html",
out="output.html"
)
```