thanks Seangduan sangduan J. wrote: > > > Hi all, > I have a problem selecting some rows from a random data. > I'd like to select the same rows (before 0) . > > For example: > A > > [1] 0 > [2] 1 > [3] 2 > [4] 0 > [5] 1 > [6] 0 > [7] 1 > [8] 2 > [9] 3 > [10] 4 > > I'd like to select the row where a = 2 1 4 > > I searched on the search of the R site but I did'nt find anything of > simple. > Can someone help me? > > Thank you very much > Seangduan > > ______________________________________________ > 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. > >
-- View this message in context: http://www.nabble.com/Select-the-same-rows-tp23289646p23311532.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.