R Under development (unstable) (2024-03-25 r86192 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 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. > #testing CV-related functions > > > rm(list = ls()) > library(PAFit) > # for CRAN. In developing, set ii from 1 to 1000 > for (ii in 1) { + set.seed(2) + print(ii) + prob_m <- "FALSE" + inc <- "FALSE" + log <- c("FALSE") + i <- 1 + + net <- generate_net(N = 1000, m = 5,prob_m = prob_m, + increase = inc, log = log, multiple_node = 100, num_seed = 100, + mode = i, s = 0,alpha = 1) + + net_stats <- get_statistics(net,deg_threshold = 1, + binning = TRUE, g = 50) + result <- only_A_estimate(net, net_stats, stop_cond = 10^-5) + } [1] 1 > > proc.time() user system elapsed 1.40 0.31 1.71