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
  
 
 
  
  2
  
  
  15
  
  
  56
  
  
  F
  
 
 
  
  3
  
  
  1
  
  
  75
  
  
  F
  
 
 
  
  4
  
  
  15
  
  
  56
  
  
  F
  
 
 
  
  5
  
  
  2
  
  
  58
  
  
  F
  
 
 
  
  6
  
  
  4
  
  
  80
  
  
  M
  
 



I'd like to make a new variable with only the samples that have pairs. Any 
suggestions would be greatly appreciated
 
Thanks!
 


 

.kripa
                                          
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to