-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hi,
I'm struggling with a DDI study code in rxode.
I have provided two separate depot() for the perpetrator and the afflicted drug.
The code run well for single dose, however, could not find a way out for multiple-dose simulation.
I have laid out initial state conditions viz.,
ini <- c(depot1=20000000, depot2=10000000,
centrA=0, periA=0, centrB=0, centrC=0); # A=parent, B=metabolite, C=perpetrator drug
It worked well for single dose:
solve(mod_A, et(amt=0) %>%
et(0,48,length.out=49), theta, ini) %>% plot(A,B,C)
For multiple doses, event for amount only takes dose for A not for C.
For ex., solve(mod_A, et(amt=20000000, ii=12, addl=4) %>%
et(0,48,length.out=49), theta, ini) %>% plot(A,B,C)
Only changes "A" but not "C".
How to include C in the event(amt=, ii=12, addl=4)?