tsna: Tools for Temporal Social Network Analysis

rstudio mirror downloads cran version Coverage status R build status

This package provides tools for exploring and describing longitudinal network data. It works with temporal network data that is stored as a networkDynamic object – essentially a list in the network format in which elements also have an attached activity attribute, a matrix of spells indicating when vertex or edge is active. See the networkDynamic package for more information on translating longitudinal network data from other formats (timed edge lists, lists of toggles, sets of matrices, etc).

The tsna package contains functions for calculating a range of descriptive statistics from longitudinal network data. Some of these are simple temporal extensions of static network descriptors, others are unique to longitudinal network data.

The tsna package is part of the statnet software suite for network analysis written in R, and it is designed to work seamlessly with the other packages in this suite.

The development of this software was supported by grant R01HD68395 from the National Institute of Health.

Docs and examples

The package vignette (browseVignettes(package='tsna')) provides examples and illustrations of key concepts.

Examples of how tsna tools might be used in a network data analysis workflow can be found in our Workshop materials, in particular the Temporal network tools and tergm workshops.

License and attribution

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

To cite package ‘tsna’ in publications please use: Bender-deMoll S, Morris M (2021). tsna: Tools for Temporal Social Network Analysis. R package version 0.3.5, https://CRAN.R-project.org/package=tsna.

Code of Conduct

Developers and Contributing Users to the Statnet Project should read https://statnet.github.io/private/ for information about the relationship between the public and the private repository and the workflows involved.

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