Blogger

Delete comment from: One R Tip A Day

Anonymous said...

Or, even easier:

data[which(data==0)] = NA

Jun 15, 2009, 9:38:37 PM


Posted to Replacing 0 with NA - an evergreen from the list

Google apps
Main menu