wdnet-package {wdnet} | R 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, useedgelist_to_wdnet()
.To create a
wdnet
object from an adjacency matrix, useadj_to_wdnet()
.To convert an
igraph
object to awdnet
object, useigraph_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:
Tiandong Wang td_wang@fudan.edu.cn
Jun Yan jun.yan@uconn.edu
Panpan Zhang panpan.zhang@vumc.org
See Also
Useful links: