cvseg(pcaMethods)
cvseg()所属R语言包:pcaMethods
Get CV segments
获取简历段
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Get cross-validation segments that have (as far as possible) the
得到交叉验证段,(尽可能)
用法----------Usage----------
cvseg(x, fold=7, seed)
参数----------Arguments----------
参数:x
a factor, character or numeric vector that describes class membership of a set of items, or, a numeric vector indicating unique indices of items, or, a numeric of length 1 that describes the number of items to segment (without any classes)
一个因素,字符或数字矢量描述类的一个项目组的成员,或者一个数值向量,表示项目的独特指数,或者,描述的项目数段长度为1的数字(不含任何类)
参数:fold
the desired number of segments
段所需数量
参数:seed
randomization seed for reproducibility </table>
随机种子重复性</ TABLE>
值----------Value----------
a list where each element is a set of indices that defines
一个列表,其中每个元素是一组指标定义
作者(S)----------Author(s)----------
Henning Redestig
参见----------See Also----------
the cvsegments function in the pls package
cvsegmentspls包功能
举例----------Examples----------
sapply(seg, function(s) table(iris$Species[s]))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|