Generating general preferential attachment networks with R package wdnet
Published in Journal of Data Science, 2023
Recommended citation: Yuan, Y., Wang, T., Yan, J. and Zhang, P. (2023). "Generating general preferential attachment networks with R package wdnet." Journal of Data Science, 21(3), 538–556. https://doi.org/10.6339/23-JDS1110
Introduction
This paper presents the R package wdnet for generating general preferential attachment networks.
Methods
An efficient binary tree algorithm, implemented in C++, supports weighted and directed networks, multiple edges, heterogeneous reciprocal edges, and user-defined preference functions.
Results
Examples demonstrate the package’s flexibility. Benchmarks show efficient generation of models beyond the configurations supported by existing packages and comparable efficiency in shared settings.
Discussion
The implementation supports simulation studies and methodological development involving large preferential attachment networks.
Highlights
- The package generates weighted and directed networks.
- Users can customize attachment and reciprocity mechanisms.
- A C++ implementation supports efficient simulation.
