Re: [R] Recoding dates to session id in a longitudinal dataset

2010-06-26 Thread John-Paul Bogers
-- Forwarded message -- From: John-Paul Bogers Date: Sat, Jun 26, 2010 at 10:14 PM Subject: Re: [R] Recoding dates to session id in a longitudinal dataset To: jim holtman Dear Jim, he data concerns HPV screening data. The data looks as follows pat1 sampledate1 HPV16 0.3 pat2

[R] Recoding dates to session id in a longitudinal dataset

2010-06-26 Thread John-Paul Bogers
Hi, I'm fairly new to R but I have a large dataset (30 obs) containing patient material. Some patients came 2-9 times during the three year observation period. The patients are identified by a unique idnr, the sessions can be distinguished using the session date. How can I recode the date of t