参数:x
an object which contains a permutation vector (currently an integer vector or an object of class hclust)
一个对象,它包含一个置换向量(目前是一个整数向量或一个类的对象hclust)
参数:method
a string representing the method used to obtain the permutation vector
一个字符串,它表示的方法获得的置换矢量
Details
详细信息----------Details----------
ser_permutation_vector objects are usually packed into a ser_permutation object which is a collection of k permutation vectors for k-mode data.
ser_permutation_vector:对象通常包装成一个ser_permutation对象,是一家集k置换向量的k模式下的数据。
The constructor ser_permutation_vector checks if the permutation vector is valid (i.e. if all integers occur exactly once).
置换矢量的构造函数ser_permutation_vector检查,如果是有效的(即如果所有的整数出现一次)。
参见----------See Also----------
ser_permutation
ser_permutation
实例----------Examples----------
p <- ser_permutation_vector(1:10, "identity")
p
## some methods[#的一些方法]
length(p)
get_order(p)
get_method(p)