From daaf3ef52e51cdccee3df83cb0d3f79143af8538 Mon Sep 17 00:00:00 2001 From: mine-cetinkaya-rundel Date: Thu, 25 May 2023 21:08:02 -0400 Subject: [PATCH] Avoid $ --- factors.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/factors.qmd b/factors.qmd index b1fa35d..5cc7436 100644 --- a/factors.qmd +++ b/factors.qmd @@ -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)