Reordering an image matrix of the blockmodel (or an error matrix based on new and old partition
Reordering an image matrix of the blockmodel (or an error matrix based on new and old partition
Reorders an image matrix of the blockmodel (or an error matrix based on new and old partition. The partitions should be the same, except that classes can have different labels. It is useful when we want to have a different order of classes in figures and then also in image matrices. Currently it is only suitable for one-mode blockmodels.
UTF-8
reorderImage(IM, oldClu, newClu)
Arguments
IM: An image or error matrix.
oldClu: Old partition.
newClu: New partition, the same as the old one except for class labeles.
Returns
Reorder matrix (rows and columns are reordred).
References
(2007). Generalized Blockmodeling of Valued Networks. Social Networks, 29(1), 105-126. doi: 10.1016/j.socnet.2006.04.002
(2008). Direct and indirect approaches to blockmodeling of valued networks in terms of regular equivalence. Journal of Mathematical Sociology, 32(1), 57-84. doi: 10.1080/00222500701790207