Closed gobbios closed 4 years ago
Tied relationships (0/0, 1/1, 2/2 etc) are set to NA
inside the ISI()
function (because they are not relevant for the ranking). For the output all tied relationships were wrongly set to 0/0 (even non-zero ties), which had no effect on the ranking results.
The output should be correct now:
data("devries98")
res <- ISI(devries98)[[1]]
res[c("k", "c"), c("k", "c")]
k c
k 0 0
c 0 0
devries98[c("k", "c"), c("k", "c")]
k c
k 0 2
c 2 0
when using
ISI()
, the returned matrix (or matrices) may have interactions missing. For example,data("devries98")
res <- ISI(devries98)[[1]]
res[c("k", "c"), c("k", "c")]
k c
k 0 0
c 0 0
versus the original
devries98[c("k", "c"), c("k", "c")]
k c
k 0 2
c 2 0