search for: poly1id

Displaying 1 result from an estimated 1 matches for "poly1id".

Did you mean: poly1
2009 Dec 29
4
subsetting by groups, with conditions
I have a data set similar to this: P1id Veg1 Veg2 AreaPoly2 P2ID 1 p p 1 1 1 p p 1.5 2 2 p p 2 3 2 p h 3.5 4 For each group of "Poly1id" records, I wish to output (subset) the record which has largest "AreaPoly2" value, but only if Veg1=Veg2. For this example, the desired dataset would be P1id Veg1 Veg2 AreaPoly2 P2ID 1 p p 1.5 2 2 p p 2...