Learn R Programming

timeordered (version 0.9.6)

generatetimedeltas: Constructs matrix of sequential time windows suitable for slicing time ordered networks

Description

-

Usage

generatetimedeltas(starttime, stoptime, delta)

Arguments

starttime
The starting time of the first time window.
stoptime
The stopping time of the last time window.
delta
The size of each time window.

Value

  • A n x 2 matrix. Each row contains the start and stop time of a window with width delta.

See Also

generatetimelags ~~~

Examples

Run this code
td100 <- generatetimedeltas(0,1500,100)
boxplot(t(td100))

Run the code above in your browser using DataLab