Look below at your question. R-help does not support html email so you must use plain text if you want to get an answer.
------------------------------------- David L Carlson -----Original Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Marta Tobeña Sent: Monday, April 21, 2014 10:08 AM To: r-help@r-project.org Subject: [R] Hi , Is it possible select a different number of rows by each group with R???? Hi , Is it possible select a different number of rows by each group with R???? I must to select different number (specific quantity in field2:Table1) of rows in each group(field1:Table2). I have these 2 tables:Table1Table2field1field2field1field3field4field51310.375S pRm12610.416667SpRm23910.458333SpRm34310.5SpRm45310.541667SpRm56 310.583333SpRm67310.625SpJm18910.666667SpJm29610.708333SpJm31031 0.75SpJm411310.791667SpJm512310.833333SpJm613310.875SpJm714320.9 16667SpJm820.958333SpJm921SpJm1021.041667SpJm1121.083333SpJm1221 .125SpJm1321.166667SpJm1421.208333SpJm1521.25SpJm1621.291667SpJm 1721.333333SpJm18Thanks youMarta [[alternative HTML version deleted]] ______________________________________________ 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. ______________________________________________ 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.