Skip to content

Conversation

@grantengel-septa
Copy link

With most current version of dplyr, replacing NAs with 0 using "mutate_all" applies to character columns as well, which throws a data type error. Replacing with "mutate" + new verbs "across" & "where" to replace NAs only in those columns that are numeric data type. According to dplyr documentation, "mutate" + "across" supersedes "mutate_all".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant