If you have read the table as a data frame say, DF then the following should work  DF[DF==0]<-NA
--- On Tue, 16/9/08, Amit Patel <[EMAIL PROTECTED]> wrote: From: Amit Patel <[EMAIL PROTECTED]> Subject: [R] HI To: [email protected] Date: Tuesday, 16 September, 2008, 7:02 PM Does anyone know an easy way to convert all the zero values in a imported csv table into NA's [[alternative HTML version deleted]] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Add more friends to your messenger and enjoy! Go to http://in.messenger.yahoo.com/invite/ [[alternative HTML version deleted]]
______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

