powered by
A quick simulation function.
qsim(x, e, idata, req = NULL, tgrid = NULL)
model object
event object
individual data set
compartments to request
tgrid object; used if e is an ev object
tgrid
e
ev
# NOT RUN { mod <- mrgsolve:::house() des <- tgrid(0,2400,1) data <- recmatrix(ev(amt=1000, ii=24, addl=100),des) out <- mod %>% qsim(data) # }
Run the code above in your browser using DataLab