c_rs_table {clustAnalytics} | R Documentation |
Given two membership vectors, returns the corresponding contingency table. we assume the labels are >=1 and numbered consecutively. If not consecutive (some labels are unused) this implementation still works, but will be less efficient.
c_rs_table(c1, c2)
c1 , c2 |
membership vectors (integer values containing the index of each community) |