Compares two sub-regression structures, considering one of them as the "true one".
compare_struct(trueZ = trueZ, Zalgo = Zalgo, all = TRUE, mode = "NULL")
first structure (binary adjacency matrix)
second structure (binary adjacency matrix)
(boolean) Also compute the ratio for each stat.
how to modify the structures before comparison. mode=c("NULL","hybrid","clique","sym") It allows to compare groups instead of exact sub-regressions. Does nothing by default.
Number of links that exist in both matrices
Number of links that exist only in Zalgo
Number of links that exist only in trueZ
Number of sub-regressions in trueZ - Number of sub-regressions in Zalgo (i.e.: negative if too much sub-regressions in Zalgo)
Number of variables redundant in both matrices
Number of variables redundant in Zalgo but not in trueZ
ratio of links in trueZ that exist also in Zalgo
ratio of links not in trueZ that don't exist in Zalgo.