Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #12 from murraycadzow/murraycadzow-patch-1
Browse files Browse the repository at this point in the history
fct_explicit_na deprecated using fct_na_value_to_level instead
  • Loading branch information
tobyhodges authored May 24, 2024
2 parents 23f1a9f + 15ac370 commit ed31576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion episodes/how-r-thinks-about-data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ fct_relevel(sex, c("male", "female"))
fct_recode(sex, "M" = "male", "F" = "female")
# turn NAs into an actual factor level (useful for including NAs in plots)
fct_explicit_na(sex)
fct_na_value_to_level(sex, "(Missing)")
```

Expand Down

0 comments on commit ed31576

Please sign in to comment.