It looks fine to me. Why do you say it does not work? Any error messages?
John Kane Kingston ON Canada > -----Original Message----- > From: yu_y...@hotmail.com > Sent: Tue, 8 May 2012 10:06:07 -0700 (PDT) > To: r-help@r-project.org > Subject: Re: [R] Help "deleting negative values in a matrix, and do > statistic analysis" > > Hi, Rui, > > I tried your code. It did not work. > > thanks, > > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/Help-deleting-negative-values-in-a-matrix-and-do-statistic-analysis-tp4617792p4618080.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. ____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! ______________________________________________ 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.