| similarity {diceR} | R Documentation |
cts computes the connected triple based similarity matrix, srs computes
the simrank based similarity matrix, and asrs computes the approximated
simrank based similarity matrix.
cts(E, dc) srs(E, dc, R) asrs(E, dc)
E |
an N by M matrix of cluster ensembles |
dc |
decay factor, ranges from 0 to 1 inclusive |
R |
number of iterations for |
an N by N CTS, SRS, or ASRS matrix
Johnson Liu, Derek Chiu
MATLAB functions cts, srs, asrs in package LinkCluE by Simon Garrett
set.seed(1) E <- matrix(rep(sample(1:4, 800, replace = TRUE)), nrow = 100) CTS <- cts(E = E, dc = 0.8) SRS <- srs(E = E, dc = 0.8, R = 3) ASRS <- asrs(E = E, dc = 0.8) purrr::walk(list(CTS, SRS, ASRS), str)