powered by
An event sequence can be replicated a certain number of times in a certain number of IDs.
ev_rep(x, ID = 1, n = NULL, wait = 0, as.ev = FALSE, id = NULL)
A single data.frame or event object as determined by the value of as.ev.
as.ev
event object
numeric vector if IDs
passed to ev_repeat
ev_repeat
if TRUE an event object is returned
TRUE
deprecated; use ID instead
ID
e1 <- c(ev(amt=100), ev(amt=200, ii=24, addl=2, time=72)) ev_rep(e1, 1:5)
Run the code above in your browser using DataLab