>>>> 4 15 56 F
>>>> 6 4 80 M
>
> Anyway, the question was not clear as I mentioned in the earlier mail.
> Regards,
> A.K.
>
>
>
>
> - Original Message -
> From: Bert Gunter
> To: Kripa R
> Cc: arun ; R help
> Sent: Tu
ar as I mentioned in the earlier mail.
Regards,
A.K.
----- Original Message -
From: Bert Gunter
To: Kripa R
Cc: arun ; R help
Sent: Tuesday, August 13, 2013 12:09 PM
Subject: Re: [R] pulling out pairs from data frame
Sorry. Typo. Corrected version is:
yourframe[!duplicated(yourframe$I
>> I manipulated the code you sent and it works perfectly, thanks!
>>
>> .kripa
>>
>>> Date: Tue, 13 Aug 2013 08:10:53 -0700
>>> From: smartpink...@yahoo.com
>>> Subject: Re: [R] pulling out pairs from data frame
>>> To: kripa...@hotmail.
> # SameName Individual Age Gender
>> #11 4 80 M
>> #22 15 56 F
>> #44 15 56 F
>> #66 4 80 M
>> A.K.
>>
>> ____________
>> From: Kripa R
I manipulated the code you sent and it works perfectly, thanks!
.kripa
> Date: Tue, 13 Aug 2013 08:10:53 -0700
> From: smartpink...@yahoo.com
> Subject: Re: [R] pulling out pairs from data frame
> To: kripa...@hotmail.com
> CC: r-help@r-project.org
>
>
>
> Hi,
>
A.K.
From: Kripa R
To: arun
Cc: R help
Sent: Tuesday, August 13, 2013 10:56 AM
Subject: RE: [R] pulling out pairs from data frame
Oops! Ok So I have this file:
SampleName Individual Age Gender
1 4 80 M
2 15 56 F
3 1 75 F
4 15 56 F
5 2 58 F
6 4 80 M
And I want to pull out paired samples,
> Date: Mon, 12 Aug 2013 18:36:08 -0700
> From: smartpink...@yahoo.com
> Subject: Re: [R] pulling out pairs from data frame
> To: kripa...@hotmail.com
> CC: r-help@r-project.org
>
> Hi,
> The question is not clear so not sure this is what you wanted.
>
> dat1&
6 4 80 M 1
A.K.
- Original Message -
From: Kripa R
To: "r-help@r-project.org"
Cc:
Sent: Monday, August 12, 2013 6:59 PM
Subject: [R] pulling out pairs from data frame
Hello everyone,
I'm having trouble pulling out paired samples from a data set..
Hello everyone,
I'm having trouble pulling out paired samples from a data set... I have the
following:
reps<-c(4,15) #the variable reps is a list of all paired samples
>data
SameName
Individual
Age
Gender
1
4
80
M
9 matches
Mail list logo