Fix fct_lump example (#918)
* happen to have "Other" in factor levels * rescind code change, instead add comments * make an exercise
This commit is contained in:
parent
8170f7c4f9
commit
1795c94855
|
@ -329,3 +329,5 @@ gss_cat %>%
|
|||
Independent changed over time?
|
||||
|
||||
1. How could you collapse `rincome` into a small set of categories?
|
||||
|
||||
1. Notice there are 9 groups (excluding other) in the `fct_lump` example above. Why not 10? (Hint: type `?fct_lump`, and find the default for the argument `other_level` is "Other".)
|
||||
|
|
Loading…
Reference in New Issue