powered by
Create template data sets for simulation
expand.idata(...)expand.ev(...)
expand.ev(...)
passed to expand.grid
expand.grid
An ID column is added as 1:nrow(ans) if not supplied by the user. For expand.ev, defaults also added: cmt = 1, time = 0, evid = 1.
1:nrow(ans)
expand.ev
cmt = 1
time = 0
evid = 1
# NOT RUN { idata <- expand.idata(CL=c(1,2,3), VC=c(10,20,30)) doses <- expand.ev(amt=c(300,100), ii=c(12,24), cmt=1) # }
Run the code above in your browser using DataLab