merged$number_articles %>% replace_na(0)
Im trying to replace all na values in a column (number_articles) in the df (merged), with 0. I have tried the above code but the values are not getting replaced. It still shows NA in every observation. Also, I have to do this using dplyr.