Can I use RxODE2 to simulate multiple doses in population? #958
-
|
Hi guys. I would like to ask if I can use RxODE to simulate multiple dose at the same time in population simulation? I mean, the dosage increases in a regular way, for example from 100mg to 500mg. I want to simulate different blood drug concentrations in the same population at 100mg, 200mg, 300mg, 400mg, and 500mg. Can I write code in the event table to include these dosages? |
Beta Was this translation helpful? Give feedback.
Answered by
mattfidler
Nov 24, 2025
Replies: 1 comment 7 replies
-
|
Yes you can, something like the following would work: e <- et(amt=100) %>% et(amt=200, time=24) %>% et(amt=300, time=48) %>% et(seq(1:48)) %>% et(id=1:24) |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
WXX155367
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes you can, something like the following would work: