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:
Mitsuo Shiota 2021-02-09 22:25:34 +09:00 committed by GitHub
parent 8170f7c4f9
commit 1795c94855
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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".)