Skip to content

thongphamthe/PAFit

devel
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
 
 
man
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PAFit package

Downloads from CRAN Downloads from CRAN CRAN License: GPL v3

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 and can be installed in the usual way:

install.packages("PAFit")

This dev version on GitHub can be installed as follows:

require(devtools)
install_github("thongphamthe/PAFit@devel")

Getting started

To get started, load the package

library("PAFit")

then work through the tutorial (link to the current CRAN version):

A version of this tutorial is published in Journal of Statistical Software:

The PAFit-oneshot method is described in this paper.

Reference manual

Please refer to the current version on CRAN:

You can view the html version, which has a better layout but renders mathematical symbols worse than the pdf version, if you use Rstudio

NEWS

Please refer to the current version on CRAN:

Citation

Please refer to the citation information file (link to the current CRAN version):

License

GPL-3

Other information

  • If you have any suggestions or find bugs, please use the github issue tracker
  • Feel free to submit pull requests