ser_permutation(seriation)
ser_permutation()所属R语言包:seriation
Class ser\_permutation – A collection of
类SER \ _permutation - 一组
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The class ser_permutation is a collection of permutation vectors (see class ser_permutation_vector), one for each dimension (mode) of the data to be permuted.
类ser_permutation是一个置换矢量集合(见类ser_permutation_vector),一个用于要被排列的数据的每个维度(模式)。
用法----------Usage----------
## constructor
ser_permutation(x, ...)
参数----------Arguments----------
参数:x
an object of class ser_permutation_vector or any object which can be converted into a object of class ser_permutation (e.g. an integer vector).
类ser_permutation_vector或任何对象,可被转化成一个对象的类ser_permutation(例如,一个整数向量)的一个目的。
参数:...
permutation vectors for further dimensions
置换向量,进一步尺寸
参见----------See Also----------
ser_permutation_vector
ser_permutation_vector
实例----------Examples----------
o <- ser_permutation(1:5, 10:1)
o
## length (number of dimensions)[#长(维数)]
length(o)
## get permutation vector for 2nd dimension[#2维排列的矢量]
get_order(o, 2)
## reverse dimensions[#反向尺寸]
o[2:1]
## combine[#结合]
o <- c(o, ser_permutation(1:15))
o
## get an individual permutation[#得到一个个人的排列]
o[[2]]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|