Re: [R] Selecting n observation

2012-10-12 Thread William Dunlap
o:r-help-boun...@r-project.org] On > Behalf > Of David Winsemius > Sent: Thursday, October 11, 2012 2:13 PM > To: bibek sharma > Cc: r-help@r-project.org > Subject: Re: [R] Selecting n observation > > > On Oct 11, 2012, at 12:48 PM, bibek sharma wrote: > > >

Re: [R] Selecting n observation

2012-10-11 Thread David Winsemius
On Oct 11, 2012, at 12:48 PM, bibek sharma wrote: > Hello R help, > I have a question similar to what is posted by someone before. my > problem is that Instead of last assessment, I want to choose last two. > > I have a data set with several time assessments for each participant. > I want to sel

Re: [R] Selecting n observation

2012-10-11 Thread Peter Ehlers
On 2012-10-11 12:48, bibek sharma wrote: Hello R help, I have a question similar to what is posted by someone before. my problem is that Instead of last assessment, I want to choose last two. I have a data set with several time assessments for each participant. I want to select the last assess

[R] Selecting n observation

2012-10-11 Thread bibek sharma
Hello R help, I have a question similar to what is posted by someone before. my problem is that Instead of last assessment, I want to choose last two. I have a data set with several time assessments for each participant. I want to select the last assessment for each participant. My dataset looks