Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thongphamthe/PAFit
PAFit source
https://github.com/thongphamthe/PAFit
complex-networks cran fit-get-richer general-preferential-attachment minorize-maximization preferential-attachment r rich-get-richer scale-free temporal-networks
Last synced: 3 months ago
JSON representation
PAFit source
- Host: GitHub
- URL: https://github.com/thongphamthe/PAFit
- Owner: thongphamthe
- Created: 2017-01-25T00:14:14.000Z (almost 8 years ago)
- Default Branch: devel
- Last Pushed: 2024-03-28T14:36:02.000Z (7 months ago)
- Last Synced: 2024-07-05T10:24:38.507Z (4 months ago)
- Topics: complex-networks, cran, fit-get-richer, general-preferential-attachment, minorize-maximization, preferential-attachment, r, rich-get-richer, scale-free, temporal-networks
- Language: R
- Homepage: https://CRAN.R-project.org/package=PAFit
- Size: 10.5 MB
- Stars: 17
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - thongphamthe/PAFit - PAFit source (R)
README
# PAFit package
[![Downloads from CRAN](https://cranlogs.r-pkg.org/badges/PAFit?color=brightgreen)](https://CRAN.R-project.org/package=PAFit)
[![Downloads from CRAN](https://cranlogs.r-pkg.org/badges/grand-total/PAFit?color=brightgreen)](https://CRAN.R-project.org/package=PAFit)
[![CRAN](https://www.r-pkg.org/badges/version/PAFit)](https://cran.rstudio.com/package=PAFit)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-brightgreen.svg)](https://www.gnu.org/licenses/gpl-3.0)This package provides a framework for modelling and inferencing attachment mechanisms of temporal complex networks. The two main functionalities of the package are:
* Estimating preferential attachment (PA) and fitness when the growth process can be observed. This is when one can observe the temporal network at at least two time-steps. For estimating the PA function in isolation, we implement Jeong's method, the corrected Newman's method and the PAFit method. For jointly estimating the PA function and node fitnesses, we implement the PAFit method.
* Estimating PA from only one snapshot of the temporal network. We implement the *PAFit-oneshot* method for estimating the PA function from one single snapshot.In addition, the package can quantify the remaining uncertainties by providing confidence intervals for the estimated results. We also provide flexible methods to generate a wide range of temporal networks based on PA and fitness.
Installation
------------The release version of the package is hosted on [CRAN](https://CRAN.R-project.org/package=PAFit) and can be installed in the usual way:
```r
install.packages("PAFit")
```This dev version on GitHub can be installed as follows:
```r
require(devtools)
install_github("thongphamthe/PAFit@devel")
```Getting started
---------------To get started, load the package
```r
library("PAFit")
```
then work through the tutorial (link to the current CRAN version):* [Tutorial](https://CRAN.R-project.org/package=PAFit/vignettes/Tutorial.pdf)
A version of this tutorial is published in Journal of Statistical Software:
* [JSS paper](https://www.jstatsoft.org/article/view/v092i03)The *PAFit-oneshot* method is described in [this paper](https://academic.oup.com/comnet/article/9/5/cnab024/6377709).
Reference manual
---------------Please refer to the current version on CRAN:
* [Manual](https://CRAN.R-project.org/package=PAFit/PAFit.pdf)
You can view the html version, which has a better layout but renders mathematical symbols worse than the pdf version, if you use [Rstudio](https://www.rstudio.com/)
NEWS
---------------Please refer to the current version on CRAN:
* [NEWS](https://CRAN.R-project.org/package=PAFit/news.html)
Citation
---------------Please refer to the citation information file (link to the current CRAN version):
* [Citation Info](https://CRAN.R-project.org/package=PAFit/citation.html)
License
-----------------
GPL-3Other information
-----------------* If you have any suggestions or find bugs, please use the github [issue tracker](https://github.com/thongphamthe/PAFit/issues)
* Feel free to submit pull requests