# \donttest{
data("nuc_cp")
N = 10 #for the example, we recommend 1e+4 value
n = 15
# Maximizing congruence (not run)
NPc <- max_cong(np_matrix, NUCtr, CPtr, n, N, method = "paco",
symmetric = FALSE, ei.correct = "sqrt.D",
percentile = 0.01, strat = "parallel", cl = 8)
THSc <- trimHS_maxC(N, np_matrix, n)
pp_treesPACOo_cong <- prob_statistic(THSc, np_matrix, NUC_500tr[1:10],
CP_500tr[1:10], freqfun = "paco", NPc,
percentile = 0.01, correction = "none",
algm = "maxcong", symmetric = FALSE,
ei.correct = "sqrt.D",
strat = "parallel", cl = 8)
# Maximizing incongruence
NPi <- max_incong(np_matrix, NUCtr, CPtr, n, N, method = "paco",
symmetric = FALSE, ei.correct = "sqrt.D",
percentile = 0.99, diff.fq = TRUE)
THSi <- trimHS_maxI(N, np_matrix, n)
pp_treesPACOo_incong <- prob_statistic(THSi, np_matrix, NUC_500tr[1:5],
CP_500tr[1:5], freqfun = "paco", NPi,
percentile = 0.99, correction = "diff.fq",
symmetric = FALSE, ei.correct = "sqrt.D",
strat = "parallel", cl = 8)
# }
Run the code above in your browser using DataLab