I have a data frame and some columns have NA values.
NA
How do I replace these NA values with zeroes?
To replace all NAs in a dataframe you can use:
df %>% replace(is.na(.), 0)