data(nuc_cp)
N = 1 #for the example, we recommend 1e+4 value
n = 15
# Maximizing congruence
NPc_PACo <- max_cong(np_matrix, NUCtr, CPtr, n, N, method = "paco",
symmetric = FALSE, ei.correct = "sqrt.D",
percentile = 0.01, res.fq = FALSE)
# Loaded directly from dataset
# THSC <- trimHS_maxC(N, np_matrix, n)
# pp_treesPACo_cong <- prob_statistic(ths = THSc, np_matrix, NUC_500tr[1:10],
# CP_500tr[1:10], freqfun = "paco", NPc_PACo,
# symmetric = FALSE, ei.correct = "sqrt.D",
# percentile = 0.01, correction = "none")
gini_ci(LF_1 = NPc_PACo, M01 = pp_treesPACo_cong,
ylab = "Gini Coefficient (G)",
plot = TRUE, ylim = c(0.3, 0.8))
abline(h = 1/3) # because res.fq = TRUE
Run the code above in your browser using DataLab