wdnet-package: wdnet: Weighted and Directed Networks

wdnet-packageR Documentation

wdnet: Weighted and Directed Networks

Description

This package provides functions to conduct network analysis

  • Assortativity, centrality, clustering coefficient for weighted and directed networks

  • Rewire an unweighted network with given assortativity coefficient(s)

  • Preferential attachment (PA) network generation

wdnet networks

wdnet networks have a class wdnet. It is a list containing the following components:

  • A logical value directed indicating if the network is directed.

  • A logical value weighted indicating if the network is weighted.

  • A two-column matrix edgelist representing the edges.

  • A data frame node.attr that includes node attributes, such as node strengths.

  • A data frame edge.attr that includes edge attributes, such as edge weights.

Creating a wdnet Object

  • To generate a preferential attachment (PA) network, use rpanet().

  • To create a wdnet object from an edge list and edge weights, use edgelist_to_wdnet().

  • To create a wdnet object from an adjacency matrix, use adj_to_wdnet().

  • To convert an igraph object to a wdnet object, use igraph_to_wdnet().

Further information

The development version of this package is available on Gitlab (https://gitlab.com/wdnetwork/wdnet).

Author(s)

Maintainer: Yelie Yuan yelie.yuan@uconn.edu

Authors:

See Also

Useful links:


wdnet documentation built on May 29, 2024, 9:32 a.m.