Another rather basic question for which I can't find a definitive answer online:
I have a data frame containing (in random places) a character value (say "foo"
)that I want to replace with a NA.
What's the best way to do so across the whole data frame?
Thanks,
Roberto