Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*derive\s+intervals\s+a\s+subject\s+is\s+taken\s+the\s+same\s+dose\s*$/: 3 ]

Total 3 documents matching your query.

1. derive intervals a subject is taken the same dose (score: 1)
Author: "Stuyckens, Kim [PRDBE]" <KSTUYCK1@PRDBE.JNJ.COM>
Date: Wed, 21 Jun 2006 16:35:39 +0200
Dear S-News users, I have a dataset which looks as follows containing thousands of rows: ID DOSE DATE 1 0.25 01/01/2006 1 0.25 01/02/2006 1 0.50 01/03/2006 1 0.25 01/04/2006 1 0.25 01/05/2006 1 2.50
/archives/html/s-news/2006-06/msg00048.html (12,824 bytes)

2. Re: derive intervals a subject is taken the same dose (score: 1)
Author: Tony Plate <tplate@blackmesacapital.com>
Date: Wed, 21 Jun 2006 10:30:57 -0600
One way to do what I think you want is to use by(), and then massage the results into the form you want, e.g.: + DOSE= c(.25,.25,.5,0.25,0.25,2.5,2.5,0.25, 2.5,2.5,2.5,3.5,2.5,2.5,2,2,4,2,2.5,2.5,2,2
/archives/html/s-news/2006-06/msg00049.html (12,325 bytes)

3. Re: derive intervals a subject is taken the same dose (score: 1)
Author: David L Lorenz <lorenz@usgs.gov>
Date: Wed, 21 Jun 2006 11:54:57 -0500
I think it is pretty easy if you use the diff() function. Here's code to start with and the output. cbind(a[c(1,diff(a$DOSE)) != 0,],ENDDATE=a[c(diff(a$DOSE),1) != 0,3]) ID DOSE DATE ENDDATE 1 1 0.2
/archives/html/s-news/2006-06/msg00050.html (16,557 bytes)


This search system is powered by Namazu