Learn R Programming

PAFit (version 1.2.10)

print.PAFit_data: Printing simple information on the statistics of the network stored in a PAFit_data object

Description

This function prints simple information of the statistics stored in a PAFit_data object. This object is the returning value of get_statistics.

Usage

# S3 method for PAFit_data
print(x,...)

Value

Prints simple information of the network statistics.

Arguments

x

An object of class PAFit_data.

...

Other arguments to pass.

Author

Thong Pham thongphamthe@gmail.com

Examples

Run this code
  ## Since the runtime is long, we do not let this example run on CRAN
  if (FALSE) {
    library("PAFit")
    set.seed(1)
    # a network from Bianconi-Barabasi model
    net        <- generate_BB(N        = 1000 , m             = 50 , 
                              num_seed = 100  , multiple_node = 100,
                              s        = 10)
    net_stats  <- get_statistics(net)
    print(net_stats)
  }

Run the code above in your browser using DataLab