This commit is contained in:
mine-cetinkaya-rundel 2023-05-25 21:08:02 -04:00
parent 8def8051f6
commit daaf3ef52e
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ More powerful than changing the orders of the levels is changing their values.
This allows you to clarify labels for publication, and collapse levels for high-level displays.
The most general and powerful tool is `fct_recode()`.
It allows you to recode, or change, the value of each level.
For example, take the `gss_cat$partyid`:
For example, take the `partyid` variable from the `gss_cat` data frame:
```{r}
gss_cat |> count(partyid)