summary.CV_Result: Output summary information of the cross-validation result

View source: R/summary.CV_Result.R

summary.CV_ResultR Documentation

Output summary information of the cross-validation result

Description

This function outputs summary information of the cross-validation result stored in a CV_Result object. This object is the field $cv_result 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 class 'CV_Result'
summary(object,...)

Arguments

object

An object of class CV_Result.

...

Other arguments to pass.

Value

Outputs summary information of the cross-validation result.

Author(s)

Thong Pham thongphamthe@gmail.com

Examples

  ## Since the runtime is long, we do not let this example run on CRAN
  ## Not run: 
    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)
    summary(result$cv_result)
  
## End(Not run)

PAFit documentation built on June 22, 2024, 11:06 a.m.