Why isn't there any difference in the two if cases in boot_networklevel_n:
if (n == 1) {
results <- get_list_of_matrices(boot_lst, metric_names, n, iter_spl_size)
# Convert data back to data frame if applicable
if (! "data.table" %in% cls_data) data.table::setDF(data)
return(results)
} else if (n == 2) {
results <- get_list_of_matrices(boot_lst, metric_names, n, iter_spl_size)
if (! "data.table" %in% cls_data) data.table::setDF(data)
return(results)
}
Why isn't there any difference in the two
ifcases inboot_networklevel_n: