Learn R Programming

⚠️There's a newer version (1.0.1) of this package.Take me there.

timeordered (version 0.9.9)

Time-Ordered and Time-Aggregated Network Analyses

Description

Approaches for incorporating time into network analysis. Methods include: construction of time-ordered networks (temporal graphs); shortest-time and shortest-path-length analyses; resource spread calculations; data resampling and rarefaction for null model construction; reduction to time-aggregated networks with variable window sizes; application of common descriptive statistics to these networks; vector clock latencies; and plotting functionalities. The package supports .

Copy Link

Version

Install

install.packages('timeordered')

Monthly Downloads

145

Version

0.9.9

License

GPL-3

Maintainer

Benjamin Blonder

Last Published

July 4th, 2018

Functions in timeordered (0.9.9)

randomize_edges_helper

Does all the work for edge_randomization and randomized_edges. An internal function.
shortesthoppath

Determines a path (shortest by the least number of unique vertices) between two vertices at two times.
timeordered-package

Time-ordered and time-aggregated network analyses
shortesttimepath

Determines a path (shortest by the least time) between a vertex at a start time and another vertex at any later time.
transformspreadbyindividual

A helper function to assess differences in spreading potential by vertex.
plottanet

Plots a time-aggregated network.
plotnetworkslices

Plots a time-aggregated network
ants

Ant interaction data
generatenetworkslices

Generates multiple time-aggregated networks from a time-ordered network
generatetonetworkfromvel

Generates a time-ordered network from a data frame listing all directed edges. An internal function.
generatetimelags

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

Applies a function (typically a descriptive statistic) to multiple time-aggregated networks
generatevertexedgelist

Generates a data frame listing all directed edges in a time-ordered network from an observed interaction list. An internal function.
generatetimedeltas

Constructs matrix of sequential time windows suitable for slicing time ordered networks
generatelatencies

Generates vector-clock latencies for each individual at each time.
midpoints

Determines the mean value of each row of a matrix; used as a convenience function for plotting.
generatetimeaggregatednetwork

Constructs a weighted time-aggregated network from a time-ordered network by aggregating interactions occurring between a start and stop time. Weights are stored as E(g)$weight.
generatetonetwork

Generates a time-ordered network from an interaction list.
randomly_permuted_times

Randomize temporal networks
maxpoints

Determines the maximum value of each row of a matrix; used as a convenience function for plotting.
rarefy

Simulates the effect of insufficient sampling by data rarefaction.
swap

Swaps two elements in a data frame. An internal function.
plottonet

Plots a time-ordered network.
randomizetimes

Resamples data based on event time.
randomizeidentities

Resamples data based on vertex identity.
spreadanalysis

Simulates the perfect spread of a resource on a time-ordered network.