Learn R Programming

PAFit (version 1.2.10)

print.CV_Data: Printing simple information of the cross-validation data

Description

This function prints simple information of the cross-validation data stored in a CV_Data object. This object is the field $cv_data of a Full_PAFit_result object, which in turn is the returning value of only_A_estimate, only_F_estimate or joint_estimate.

Usage

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

Value

Prints simple information of the cross-validation data.

Arguments

x

An object of class CV_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)
    result     <- joint_estimate(net, net_stats)
    print(result$cv_data)
  }

Run the code above in your browser using DataLab