permute(LPE)
permute()所属R语言包:LPE
Calculating all possible permutations of a vector
计算向量所有可能的排列
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Given a vector, all possible combinations of vector are obtained
鉴于一个向量,向量得到所有可能的组合
用法----------Usage----------
permute(a)
参数----------Arguments----------
参数:a
a is any numeric vector.
a是任何数字向量。
Details
详情----------Details----------
Used in am.trans. Does all permutations for columns within an experimental condition so that A and M can be calculated for all permutations of chips within a treatment.
用于在am.trans。是否在实验条件下,使A和M可以计算内处理所有的芯片排列的所有列的排列。
值----------Value----------
A vector containing the possible combinations.
一个向量,包含可能的组合。
作者(S)----------Author(s)----------
Nitin Jain<a href="mailto:nitin.jain@pfizer.com">nitin.jain@pfizer.com</a>
参考文献----------References----------
differentially expressed genes with a small number of replicated microarrays, Bioinformatics, 1945-1951.
参见----------See Also----------
lpe
lpe
举例----------Examples----------
# Loading LPE library[载入中液相库]
library(LPE)
# A test vector[测试向量]
permute(1:3)
# Returns a 2 by 3 matrix [返回2 3矩阵]
# [,1] [,2] [,3][[1] [2] [3]]
# [1,] 2 3 1[[1] 2 3 1]
# [2,] 3 1 2[[2] 3 1 2]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|