orderClu {blockmodeling} | R Documentation |
fun
applied to columns (if funWay=2
, default), rows (if funWay=1
) or both (if funWay=c(1,2)
) is decreasing by clusters.Orders the partition so that mean values of fun
applied to columns (if funWay=2
, default), rows (if funWay=1
) or both (if funWay=c(1,2)
) is decreasing by clusters. The function can be used on the results of critFunC
, optRandomParC
or similar, or matrix and a partition can be supplied. It should also work on multirelational and lined networks.
orderClu(
x,
clu = NULL,
fun = sum,
funWay = 2,
nn = NULL,
returnList = TRUE,
scale = TRUE
)
x |
A result of |
clu |
A partition - a vector or a list of vectors/partitions. It must be supplied only if |
fun |
A function used to summarize rows or columns. |
funWay |
In which "way" should |
nn |
The numbers of untis by sets of units. In principle, the function should determin this automatically. |
returnList |
Logical. Should the partition be returned in form of a list (for lined networks only). |
scale |
Only used in case of multirelational networks. Should relations be scaled ( |
An ordered partition. In an attribute ("reorder"). the information on how things were reordered.