Re: [NMusers] Generating TAD with ADDL dosing format

2016-12-20 Thread Bill Denney
Hi Camila, It sounds like you've got two questions here-- one related to NONMEM and one related to the other program you're using to create your VPC. The NONMEM question appears to be "How do I get TAD in my data without changing my dataset?" The second question appears to be "How to I

RE: [NMusers] Generating TAD with ADDL dosing format

2016-12-20 Thread Andrzej Bienczak
Hi, I'm not sure what data you're analysing and what your dosage schedules and sampling are but if ADDL is the same for each patient you could create a new variable (TVPC) and simply deduct that additional dosing history from your cumulative time from when you restarted the system (EVID=3 or

Re: [NMusers] Generating TAD with ADDL dosing format

2016-12-20 Thread Alejandro PĂ©rez Pitarch
Hi Camila, I had this same issue some time ago and, given that in my dataset all Interdose Intervals (II) were constant for all the patients, I used the following R function to get a TAD column (IDV in my dataset): InsertIDV<-function(runn,ii){ # runn is the run