::: {.cell layout-align="center"}

```{.r .cell-code}
head(diamonds$cut)
```

::: {.cell-output .cell-output-stdout}

```
[1] Very Good Fair      Very Good Premium   Very Good Ideal    
Levels: Fair < Good < Very Good < Premium < Ideal
```


:::

```{.r .cell-code}
head(diamonds$color)
```

::: {.cell-output .cell-output-stdout}

```
[1] F E D I G E
Levels: D < E < F < G < H < I < J
```


:::
:::