Avoid $
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user