Dear R-help mailing list,
 
I have this problem, I have a joint  longitudinal and survival data of the form 
say
 
ID Time Failuretime Censoringind longitudinalmeasure
1  0     35                  0                123
1  10    35                 0                 120 
1   25   35                 1                   123
2   0    23                  0                   100
2   10  23                  0                   111
 
 
I wish to create a new dataset such that only the first measurement is included.
 
Also, i will appreciate if there is a function that i could call to do this 
because I will be applying it too in a simulation settings.
 
Thank you for your time.
 
James.                


      
        [[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