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