Last data update: 2014.03.03

R: A function to summarize a PAFit object
summary.PAFitR Documentation

A function to summarize a PAFit object

Description

This function summarizes information of a PAFit object.

Usage

## S3 method for class 'PAFit'
summary(object,...)

Arguments

object

An object of class "PAFit", containing the estimation result.

...

Value

Outputs summary information.

Author(s)

Thong Pham thongpham@thongpham.net

References

1. Pham, T. and Sheridan, P. and Shimodaira, H. (2015). Nonparametric estimation of the preferential attachment function in complex networks: evidence of deviations from log linearity, in press. Proceedings of ECCS 2014: European Conference on Complex Systems.

2. Pham T, Sheridan P, Shimodaira H (2015) PAFit: A Statistical Method for Measuring Preferential Attachment in Temporal Complex Networks. PLoS ONE 10(9): e0137796. doi:10.1371/journal.pone.0137796 (http://dx.doi.org/10.1371/journal.pone.0137796)

Examples

library("PAFit")
data   <- GenerateNet(N = 1000,m = 1,mode = 1, alpha = 1, shape = 5, rate = 5)
stats  <- GetStatistics(data$graph)
result <- PAFit(stats)
summary(result)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(PAFit)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/PAFit/summary.PAFit.Rd_%03d_medium.png", width=480, height=480)
> ### Name: summary.PAFit
> ### Title: A function to summarize a PAFit object
> ### Aliases: summary.PAFit
> 
> ### ** Examples
> 
> library("PAFit")
> data   <- GenerateNet(N = 1000,m = 1,mode = 1, alpha = 1, shape = 5, rate = 5)
> stats  <- GetStatistics(data$graph)
> result <- PAFit(stats)
> summary(result)

PAFit object 
Estimation results by the PAFit method. 
Mode: Only PA:  FALSE ; Only f: FALSE 
Number of bins:  334 
Threshold of the number of new edges acquired:  1 
Number of nodes satisfied the threshold:  291 
Number of iterations:  14 
Stopping condition: 1e-04 
Auto Lambda:  TRUE 
Ratio:  0 
Prior of node fitness: shape:  0.1 ; rate:  0.1 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>