reorderImage {blockmodeling} | R Documentation |

## Reordering an image matrix of the blockmodel (or an error matrix based on new and old partition

### Description

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.

### Usage

```
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. |

### Value

Reorder matrix (rows and columns are reordred).

### Author(s)

Ales Ziberna

### References

Žiberna, A. (2007). Generalized Blockmodeling of Valued Networks. Social Networks, 29(1), 105-126. doi: 10.1016/j.socnet.2006.04.002

Žiberna, A. (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

### See Also

`critFunC`

, `plot.mat`

, `clu`

, `IM`

, `err`

*blockmodeling*version 1.1.5 Index]