get_order(seriation)
get_order()所属R语言包:seriation
Getting an integer permutation vector from a permutation object
从置换对象获得一个整数的置换矢量
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Method to get an integer permutation vector from an object of class ser_permutation or ser_permutation_vector.
方法得到一个整数的置换矢量对象的类ser_permutation或ser_permutation_vector。
用法----------Usage----------
get_order(x, ...)
## S3 method for class 'ser_permutation_vector'
get_order(x, ...)
## S3 method for class 'ser_permutation'
get_order(x, dim = 1, ...)
参数----------Arguments----------
参数:x
an object of class ser_permutation or ser_permutation_vector
对象类ser_permutation或ser_permutation_vector,
参数:dim
which dimension should be returned?
哪些方面应该回来了吗?
参数:...
further arguments (unused).
进一步的论据(未使用)。
值----------Value----------
Returns an integer vector.
返回一个整数向量。
参见----------See Also----------
ser_permutation_vector, ser_permutation
ser_permutation_vector,ser_permutation
实例----------Examples----------
## permutation_vector[#permutation_vector]
o <- ser_permutation_vector(1:10)
o
get_order(o)
## permutation[#排列]
o2 <- ser_permutation(o, 5:1)
o2
get_order(o2, 2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|