Skip to content

Repository files navigation

NetGrowLib

NetGrowLib is an R package providing a collection of network growth models and tools for analyzing their degree distributions.
It implements classical models (Barabási–Albert, CHKNS, age-biased “Darknet”) as well as exploratory clustered variants, with utilities for log/linear binning, empirical degree distributions, and visualization.


Features

  • Generative models

    • Barabási–Albert (BA) preferential attachment
    • Callaway–Hopcroft–Kleinberg–Newman–Strogatz (CHKNS) random growth
    • Age-biased attachment (“Darknet” style)
    • Clustered attachment model (local-neighborhood + preferential/age bias)
  • Distribution analysis

    • Linear and logarithmic binning (linbin, expbin)
    • Empirical degree distributions (getLinDistribution, getLogDistribution)
    • Quick plotting of log–log distributions with fitted slope (plotLogDistribution)
  • Theoretical tools

    • Analytical degree evolution formula for BA (get_ki)

Installation

Clone the repository and install locally:

# from within Rdevtools::install_local("path/to/NetGrowLib")

Usage

See the file in the scripts section.


Documentation

All functions are documented with roxygen2.
Run:

devtools::document()
?name_function

to explore the help pages.


License

MIT License © 2025


Maintainer

Developed and maintained by CoMuNeLab.

About

NetGrowLib is an R package providing a collection of network growth models and tools for analyzing their degree distributions. It implements classical models (Barabási–Albert, CHKNS, age-biased “Darknet”) as well as exploratory clustered variants, with utilities for log/linear binning, empirical degree distributions, and visualization.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages