Skip to content

CoMuNeLab/NetGrowLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 R
devtools::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

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages