azadag
4/22/2016 - 10:32 PM

replace na using dplyr for more than one variableFrom http://stackoverflow.com/questions/7279089/replace-all-na-with-false-in-selected-colum

df %>% mutate_each(funs(replace(., is.na(.), F)), x1, x2)