Skip to content
Prev 200503 / 398503 Next

extracting the last row of each group in a data frame

Thanks to all who helped. These are all great suggestions. 

Jeff

-----Original Message-----
From: Gabor Grothendieck [mailto:ggrothendieck at gmail.com] 
Sent: Monday, November 16, 2009 6:27 PM
To: Hao Cen
Cc: r-help at r-project.org
Subject: Re: [R] extracting the last row of each group in a data frame

Try this:
Name Value
1    A     3
2    B     8
3    C     2
4    D     3
On Mon, Nov 16, 2009 at 2:42 PM, Hao Cen <hcen at andrew.cmu.edu> wrote:
http://www.R-project.org/posting-guide.html