ev_rep | R Documentation |
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()
.
ev_repeat()
e1 <- c(ev(amt=100), ev(amt=200, ii=24, addl=2, time=72))
ev_rep(e1, 1:5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.