Last data update: 2014.03.03

R: A function to summarize a PAFitData object
summary.PAFitDataR Documentation

A function to summarize a PAFitData object

Description

This function summarizes information of a PAFitData object.

Usage

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

Arguments

object

An object of class "PAFitData", containing the summary statistics needed in estimation.

...

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)
summary(stats)

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.PAFitData.Rd_%03d_medium.png", width=480, height=480)
> ### Name: summary.PAFitData
> ### Title: A function to summarize a PAFitData object
> ### Aliases: summary.PAFitData
> 
> ### ** Examples
> 
> library("PAFit")
> data   <- GenerateNet(N = 1000,m = 1,mode = 1, alpha = 1, shape = 5, rate = 5)
> stats  <- GetStatistics(data$graph)
> summary(stats)

PAFitData object
Summary statistics needed in PAFit method
Type of network:  directed 
Number of nodes in the final network:  1000 
Number of edges in the final network:  999 
Number of new nodes:  999 
Number of new edges:  998 
Numbef of time-steps: 999 
Maximum degree:  159 
Number of bins: 160 
Threshold of the number of new edges acquired:  1 
Number of nodes satisfied the threshold:  323 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>