Skip to content

Commit

Permalink
Remove incorrect factor characters
Browse files Browse the repository at this point in the history
  • Loading branch information
ehumph committed Oct 8, 2024
1 parent 5c29925 commit 613398b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Factors/Factors.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Currently `age` is class `character` but let's change that to class `factor` whi
er_visits_age_fct <-
er_visits_age_subset %>%
mutate(age = factor(age,
levels = c("0-4 years old", "5-14 years old", "15-34 years old", "35-64 years old", "65+ years old")
levels = c("0-4 years", "5-14 years", "15-34 years", "35-64 years", "65+ years")
))
er_visits_age_fct %>%
Expand Down

0 comments on commit 613398b

Please sign in to comment.