Learn R Programming

networkDynamic: Dynamic Extensions for Network Objects

networkDynamic is a network data management package that provides tools to import, transform and extract relational data with timing information from various data structures (matrices, spell lists, toggles, etc). The software manages temporal information for both vertices and edges, including presence/absence (which allows for changes in network size) and discrete or continuous attributes. Both directed and undirected networks are supported.

This package is a part of the Statnet suite of packages for network analysis, so it is designed to work seamlessly with all of the packages in that suite. networkDynamic extends the capability of Statnet's network package to handle temporal information, and it is the data management foundation used by the higher level packages:

  • tsna Exploratory data analysis and summary statistics for temporal networks
  • ndtv Temporal network graphics and animation
  • tergm Statistical analysis and simulation of temporal networks with TERGMs
  • ergmgp Modeling continuous time graph processes with ERGM equilibria
  • EpiModel Epidemic modeling on dynamic networks

Docs and Examples

networkDynamic package vignette reference manual

Tutorials on using networkDynamic in data analysis workflows include the Statnet workshops Temporal network tools in statnet: networkDynamic, ndtv and tsna Temporal Exponential Random Graph Models (TERGMs) for dynamic networks

Self-guided training materials for all of the Statnet packages can be found on the statnet workshop page . For EpiModel please see the EpiModel organization site

Citation and License

This software is distributed under the GPL-3 license. It is free, open source, and has the attribution requirements (GPL Section 7) at http://statnet.org/attribution

To cite the package ‘networkDynamic’ in publications use:

Butts C, Leslie-Cook A, Krivitsky P, Bender-deMoll S (2023). networkDynamic: Dynamic Extensions for Network Objects. R package version 0.11.3, https://CRAN.R-project.org/package=networkDynamic

This work was supported by grant R01HD68395 from the National Institute of Health.

Code of Conduct

Please note that the networkDynamic project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Copy Link

Version

Install

install.packages('networkDynamic')

Monthly Downloads

3,592

Version

0.11.4

License

GPL-3

Last Published

December 10th, 2023

Functions in networkDynamic (0.11.4)

as.networkDynamic

as.networkDynamic
as.network.networkDynamic

Remove `networkDynamic' class name from networkDynamic object.
Newcomb

Newcomb's Fraternity Networks
as.data.frame.networkDynamic

Extracts the edge timing information from a networkDynamic object and represent as a data.frame.
adjust.activity

Adjust the activity ranges in all of the spells of a networkDynamic object
age.at

Age of active edges or vertices at a query time point
add.methods

PID-aware versions of functions for adding edges and vertices to networkDynamic objects
add.vertices.active

add.verticies.active, add.edges.active
activity.attribute

Activity Attributes for Dynamically Extended Networks
activate

Dynamic Activation and Inactivation of Edges and Vertices
delete.activity

Remove Timing Information in a Dynamically Extended Network Object
is.active

Determine Activation State of Edges and Vertices
get.timing.info

Retrieve the timing information present in a networkDynamic.
duration.matrix

Construct a edge spells list from base network and toggle list.
get.networks

Obtain a list of collapsed networks sampled periodically from a networkDynamic object
get.dyads.active

Return the set of vertex ids of edges active at a given time
network.collapse

Convert a time range of a networkDynamic object into a static network object.
nd_test_nets

networkDynamic testing networks
cls33_10_16_96

Daniel McFarland's Streaming Classroom Interactions Dataset
net.obs.period

Network attribute describing the observation properties of a networkDynamic object
read.son

Read .son-formatted (SoNIA) input files containing longitudinal network data and create a corresponding networkDynamic object
networkDynamic

Convert various forms of network timing information into networkDynamic objects.
network.extract

Temporal Extracts/Cross-sections of Dynamically Extended Network Objects
persistent.ids

Use and manipulate persistent ids of network elements
reconcile.activity

Modify the activity spells of vertices to match incident edges or the other way around
networkDynamic-internal

Internal networkDynamic objects
networkDynamic-package

Dynamic Extensions for Network Objects
network.dynamic.check

Verify a Dynamically Extended Network Object
network.extensions

Dynamically Extended Core Network Functions
print.networkDynamic

Provide a view of a networkDynamic object including timing information
spells.overlap

Functions to compare and search spell intervals
when.vertex.attrs.match

return the times at which the TEA attributes of elements of a network match a value
windsurfers

Lin Freeman's Dynamic Network of Windsurfer Social Interactions
attribute.activity.functions

Functions to activate and query dynamic attributes on vertices, edges, and networks