test[test==0]<-NA see previous post:
http://www.nabble.com/Replacing-0s-with-NA-td23995885.html#a23996183 swertie wrote: > > Hello, I have a matrix of species abundance with a lot of 0 values. I > would like to plot the species abundance vs date, but I don't want that > the 0 values appear as points on my graph. Do you know how I could > represent only non-0 values? Thank you very much > -- View this message in context: http://www.nabble.com/Exclude-0-values-from-plot-tp25235290p25241485.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.