Displaying 1 result from an estimated 1 matches for "book_class".
2011 Apr 20
3
[test message] Can R replicate this data manipulation in SAS?
...specific periods of time and decides whether that constitutes
HAART or not.
To me, this is a pretty tricky data manipulation in SAS. Is there
any way to get the equivalent result in R?
Thanks,
Paul
**** SAS syntax for coding HAART in HIV patients;
**** Read in test data;
data haart;
input id book_class $ start_date :mmddyy. stop_date :mmddyy.;
format start_date stop_date mmddyy8.;
cards;
1004 NRTI 07/24/95 01/05/99
1004 NRTI 11/20/95 12/10/95
1004 NRTI 01/10/96 01/05/99
1004 PI 05/09/96 11/16/97
1004 NRTI 06/01/96 02/01/97
1004 NRTI 07/01/96 03/01/97
9999 PI 01/02/03 .
9999 NNRTI 04/05...