Learn R Programming

timeordered (version 1.0.1)

generatetimelags: Constructs matrix of increasingly large time windows suitable for assessing how window size affects time aggregated networks

Description

-

Usage

generatetimelags(starttime, stoptime, delta)

Value

A n x 2 matrix. Each row contains the start and stop time of a window with widths increasing by delta.

Arguments

starttime

The starting time of the first time window.

stoptime

The stopping time of the last time window.

delta

The size by which to increase each time window.

Author

Benjamin Blonder bblonder@email.arizona.edu.

See Also

generatetimedeltas

Examples

Run this code
tl100 <- generatetimelags(0,1500,100)
boxplot(t(tl100))

Run the code above in your browser using DataLab