I'm trying to replace the NA in my database by using the option fill=NA but for some reason it doesn't work. What is strange for me is that there is not an error message, just nothing is happening after i click on run.
Here is my the full function that I use:
C <-spread(B, AGEACT, type, fill=NA, convert = FALSE, drop = TRUE, sep = NULL)
You say that you want to use fill= in order to replace NA values. Yet the parameter you are passing to fill is NA. So you're trying to replace NA with NA?