gtcars |>
dplyr::select(mfr, model, year) |>
gt_preview()| mfr | model | year | |
|---|---|---|---|
| 1 | Ford | GT | 2017 |
| 2 | Ferrari | 458 Speciale | 2015 |
| 3 | Ferrari | 458 Spider | 2015 |
| 4 | Ferrari | 458 Italia | 2014 |
| 5 | Ferrari | 488 GTB | 2016 |
| 6..46 | |||
| 47 | Rolls-Royce | Wraith | 2016 |
gt_preview() functionUse gtcars to create a gt table preview (with only a few of its columns). You’ll see the first five rows and the last row.