I already made a similar question but now I want just to restrict the new values of NA. I have some data like this:
Slightly difficult to phrase, as far as I saw none of the similar questions answered my problem.I have a data.frame such as:
I have a data frame with many columns of different types. I would like to replace each column with NA of the corresponding class.