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)
| x | event object |
|---|---|
| ID | numeric vector if IDs |
| n | passed to |
| wait | passed to |
| as.ev | if |
| id | deprecated; use |
A single data.frame or event object as
determined by the value of as.ev.
#> time amt cmt evid ii addl ID #> 1 0 100 1 1 0 0 1 #> 2 72 200 1 1 24 2 1 #> 3 0 100 1 1 0 0 2 #> 4 72 200 1 1 24 2 2 #> 5 0 100 1 1 0 0 3 #> 6 72 200 1 1 24 2 3 #> 7 0 100 1 1 0 0 4 #> 8 72 200 1 1 24 2 4 #> 9 0 100 1 1 0 0 5 #> 10 72 200 1 1 24 2 5