hardclasses(softclassval)
hardclasses()所属R语言包:softclassval
Convert to hard class labels
转换到硬盘类标签
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Converts the soft class labels in x into a factor with hard class memberships and NA for soft samples.
将软类x到的一个因素与的硬类成员和NA软样品的标签。
用法----------Usage----------
hardclasses(x, classdim = 2L, soft.name = NA,
tol = 1e-05, drop = TRUE)
参数----------Arguments----------
参数:x
matrix or array holding the class memberships
矩阵或数组的类成员资格
参数:classdim
dimension that holds the classes, default columns
尺寸持有的类,默认列
参数:soft.name
level for soft samples
软样品的水平
参数:tol
tolerance: samples with membership >= 1 - tol are considered to be hard samples of the respective class.
公差:样品的成员> = 1 - 托尔被认为是硬样品各自的类别。
参数:drop
see drop1d
看到drop1d
值----------Value----------
factor array of shape dim (x) [-classdim]
因素阵列的形状dim (x) [-classdim]
(作者)----------Author(s)----------
Claudia Beleites
参见----------See Also----------
factor2matrix for the inverse
factor2matrix的逆
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|