Re: [R] Fwd: duplicates

2010-07-29 Thread Wu Gong
Hi, Please try ?rle t.x <- x[order(x[,1],x[,2]),] t.x[cumsum(rle(t.x[,1])$lengths),] - A R learner. -- View this message in context: http://r.789695.n4.nabble.com/Fwd-duplicates-tp2306555p2306617.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] Fwd: duplicates

2010-07-29 Thread ONKELINX, Thierry
r can be extracted from a given body of data. ~ John Tukey > -Oorspronkelijk bericht- > Van: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] Namens Dévaványai Agamemnón > Verzonden: donderdag 29 juli 2010 16:31 > Aan: r-help@r-project.org

[R] Fwd: duplicates

2010-07-29 Thread Dévaványai Agamemnón
-- Eredeti üzenet -- Feladó: Dévaványai Agamemnón Címzett: r-...@r-project.org, r-...@r-project.orgelküldve: 2010. július 29. 16:29Tárgy : duplicates Sorry! I try it again Dear R Users! I have a dataframe with duplicatecases. Var1 duplicated by var2.