ev_repeat | R Documentation |
Repeat a block of dosing events
ev_repeat(x, n, wait = 0, as.ev = FALSE)
x |
event object or dosing data frame. |
n |
number of times to repeat. |
wait |
time to wait between repeats. |
as.ev |
if |
See as.ev
argument.
e1 <- ev(amt = 100, ii = 24, addl = 20)
e4 <- ev_repeat(e1, n = 4, wait = 168)
mod <- mrgsolve::house()
out <- mrgsim(mod, events = e4, end = 3200)
plot(out, "CP")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.