---
title: "easytable: Quick Start"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{easytable: Quick Start}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

```{r setup, include = FALSE}
knitr::opts_chunk$set(collapse = TRUE, comment = "#>")
```

`easytable` is built around one promise:

1. Easy to use.
2. Easy to read.

## Minimal Example

```{r}
library(easytable)

m1 <- lm(mpg ~ wt, data = mtcars)
m2 <- lm(mpg ~ wt + hp, data = mtcars)

easytable(m1, m2)
```

## Output Formats

### Word / HTML path (default)

```{r}
easytable(m1, m2, output = "word")
```

### LaTeX / PDF path

```{r}
easytable(m1, m2, output = "latex")
```

## Common Options

```{r}
easytable(
  m1, m2,
  model.names = c("Baseline", "With Controls"),
  highlight = TRUE
)
```

```{r}
easytable(
  m1, m2,
  robust.se = TRUE
)
```

## Export Files

```{r eval = FALSE}
easytable(
  m1, m2,
  export.word = "table.docx",
  export.csv = "table.csv"
)
```

## Next Steps

- Full end-to-end walkthrough: `vignette("penguins-tutorial", package = "easytable")`
- Developer API and architecture plan: `vignette("developer-roadmap", package = "easytable")`
