Displaying 1 result from an estimated 1 matches for "tp2225233p2225410".
2010 May 20
2
How to extract rows from data frame based on unique variable groupings
R community,
I would like to know how to extract rows from a data frame (DF) such that
each row in the new data frame (D.F) represents the first instance of
a unique variable pairing in the original dataframe (ordered first by
variable V1 then by variable V2). The unique function does not seem
to be able to accomplish this. I imagine there must be a simple solution for this,
but I can't