SyntaxFix
Write A Post
Hire A Developer
Questions
It is also possible to use tidyr::replace_na.
tidyr::replace_na
library(tidyr) df <- df %>% mutate_all(funs(replace_na(.,0)))