is.blocks(SIN)
is.blocks()所属R语言包:SIN
Check variable blocking
检查变量阻塞
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function checks whether a list of vectors defines a valid decomposition of the set of variables into blocks.
此函数检查向量的列表是否成块的变量的集合定义了一个有效的分解。
用法----------Usage----------
is.blocks(blocks, p)
参数----------Arguments----------
参数:blocks
a list of integer vectors representing a family of subsets of the variable set.
代表一个家庭的变量集的子集的整数向量的列表。
参数:p
the number of variables.
的变量的数目。
值----------Value----------
The function returns TRUE if the block structure is such that each variable is represented in exactly one of the blocks. Otherwise, FALSE is returned.
该函数返回TRUE如果块的结构是这样的,每个变量表示在完全相同的一个块。否则,FALSE返回。
实例----------Examples----------
p <- 6
blocks <- list(1:3,6,5:4)
is.blocks(blocks, p)
blocks <- list(1:3,7,5:4)
is.blocks(blocks, p)
blocks <- list(1:2,6,5:4)
is.blocks(blocks, p)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|