ser_permutation_vector {seriation} | R Documentation |
The class ser_permutation_vector
represents a single permutation vector.
## constructor ser_permutation_vector(x, method = NULL)
x |
an object which contains a permutation vector (currently an
integer vector or an object of class |
method |
a string representing the method used to obtain the permutation vector |
ser_permutation_vector
objects are usually packed into
a ser_permutation
object
which is a collection of k permutation vectors for k-mode data.
The constructor ser_permutation_vector
checks if the permutation vector is valid
(i.e. if all integers occur exactly once).
p <- ser_permutation_vector(1:10, "identity") p ## some methods length(p) get_order(p) get_method(p)