powered by
This function is to be used with qsim only.
qsim
data_qsim(e, times)
an event object
numeric vector of observation times or a tgrid object
tgrid
A numeric matrix with at minimum columns of time, cmt, evid, amt, rate.
time
cmt
evid
amt
rate
# NOT RUN { e <- ev(amt = 100, ii = 12, addl = 2, rate = 50) times <- tgrid(end = 240, delta = 6) data_qsim(e, times) # }
Run the code above in your browser using DataLab