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.5

License

GPL-3

Last Published

November 22nd, 2024

Functions in networkDynamic (0.11.5)

get.dyads.active

Return the set of vertex ids of edges active at a given time
duration.matrix

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

Retrieve the timing information present in a networkDynamic.
get.networks

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

Determine Activation State of Edges and Vertices
nd_test_nets

networkDynamic testing networks
network.extensions

Dynamically Extended Core Network Functions
reconcile.activity

Modify the activity spells of vertices to match incident edges or the other way around
network.dynamic.check

Verify a Dynamically Extended Network Object
network.extract

Temporal Extracts/Cross-sections of Dynamically Extended Network Objects
when.vertex.attrs.match

return the times at which the TEA attributes of elements of a network match a value
read.son

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

Lin Freeman's Dynamic Network of Windsurfer Social Interactions
networkDynamic-internal

Internal networkDynamic objects
networkDynamic

Convert various forms of network timing information into networkDynamic objects.
networkDynamic-package

Dynamic Extensions for Network Objects
attribute.activity.functions

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

Functions to compare and search spell intervals
print.networkDynamic

Provide a view of a networkDynamic object including timing information
persistent.ids

Use and manipulate persistent ids of network elements
activate

Dynamic Activation and Inactivation of Edges and Vertices
cls33_10_16_96

Daniel McFarland's Streaming Classroom Interactions Dataset
delete.activity

Remove Timing Information in a Dynamically Extended Network Object
as.networkDynamic

as.networkDynamic
activity.attribute

Activity Attributes for Dynamically Extended Networks
age.at

Age of active edges or vertices at a query time point
adjust.activity

Adjust the activity ranges in all of the spells of a networkDynamic object
add.methods

PID-aware versions of functions for adding edges and vertices to networkDynamic objects
as.network.networkDynamic

Remove `networkDynamic' class name from networkDynamic object.
as.data.frame.networkDynamic

Extracts the edge timing information from a networkDynamic object and represent as a data.frame.
add.vertices.active

add.verticies.active, add.edges.active
net.obs.period

Network attribute describing the observation properties of a networkDynamic object
Newcomb

Newcomb's Fraternity Networks
network.collapse

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