The reduced matrix or a reduced three-dimensional array of the input data according to the clustering information.
Arguments
x
a matrix or a three-dimensional array to be reduced
clu
a vector with the class membership
lbs
(optional) the labels to be used in the reduction
slbs
(optional) the string labels to be used in the reduction
valued
(logical) whether the reduction should preserve valued data?
row
(optional) the reduction by rows
col
(optional) the reduction by columns
Author
Antonio Rivero Ostoic
Details
Given a partition, this function serves to reduce either a matrix representing e.g. a partial order structure.
However, the reduction is also generalized to three-dimensional arrays representing multiple relations.