Aim
Replace NA with "Nothing" in character vector
Input
data<-c(NA, NA, "SupineAcid", NA, NA, NA, "UprightAcid", "UprightAcid",
NA, NA, "UprightAcid", NA, "UprightAcid", NA, NA, "UprightAcid",
"TotalAcid", NA, NA, NA)
Attempts
gsub(NA,"dd",data)
This leads to all the results being NA
I've also tried with "NA" and fixed=TRUE but the same issue.