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.375SpRm12610.416667SpRm23910.458333SpRm34310.5SpRm45310.541667SpRm56310.583333SpRm67310.625SpJm18910.666667SpJm29610.708333SpJm310310.75SpJm411310.791667SpJm512310.833333SpJm613310.875SpJm714320.916667SpJm820.958333SpJm921SpJm1021.041667SpJm1121.083333SpJm1221.125SpJm1321.166667SpJm1421.208333SpJm1521.25SpJm1621.291667SpJm1721.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.