View source: R/print.CV_Result.R
print.CV_Result | R Documentation |
This function prints simple 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
.
## S3 method for class 'CV_Result'
print(x,...)
x |
An object of class |
... |
Other arguments to pass. |
Prints simple information of the cross-validation result.
Thong Pham thongphamthe@gmail.com
## 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)
print(result$cv_result)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.