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:
@@ -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".)
|
||||
|
||||
Reference in New Issue
Block a user