generatetimelags: Constructs matrix of increasingly large time windows suitable...

View source: R/generatetimelags.R

generatetimelagsR Documentation

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

Description

-

Usage

generatetimelags(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 by which to increase each time window.

Value

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

Author(s)

Benjamin Blonder bblonder@email.arizona.edu.

See Also

generatetimedeltas

Examples

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

bblonder/timeordered documentation built on Aug. 29, 2023, 9:15 a.m.