# \donttest{
data(nuc_cp)
N = 10 #for the example, we recommend 1e+4 value
n = 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,
strat = "parallel", cl = 8)
# Loaded directly from dataset
# THSi <- trimHS_maxI(N, np_matrix, n)
# pp_treesPACo_incong <- prob_statistic(ths = THSi, np_matrix,
# NUC_500tr[1:5], CP_500tr[1:5], freqfun = "paco",
# NPi, symmetric = FALSE, ei.correct = "sqrt.D",
# percentile = 0.99, diff.fq = TRUE, res.fq = FALSE,
# below.p = FALSE, strat = "parallel", cl = 8)
LFci <- linkf_CI (freqfun = "paco", x = pp_treesPACo_incong, fx = NPi,
c.level = 95, ylab = "Observed - Expected frequency")
# }
Run the code above in your browser using DataLab