window_epochs | R Documentation |
Splits the event log into cumulative epochs, i.e., starting from the start up to selected number of final points.
Returns an object which has to be fed into epochs
argument of toporanga
function.
window_epochs(n, window, t)
n |
number of epochs.
Silently capped to the number of events, if larger.
Inferred from |
window |
size of the moving window; if |
t |
optional event times, vector of a same length and order as the event log given to |
A special function that can be passed to the epochs
argument of toporanga
function.
If time is not given, event log must be sorted; otherwise, epochs will not make any sense.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.