nsamples(softclassval)
nsamples()所属R语言包:softclassval
Number of samples
样本数目
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Count number of samples
计数的样本数
用法----------Usage----------
nsamples(r = r, groups = NULL, operator = "prd",
hard.operator)
参数----------Arguments----------
参数:r
reference class labels with samples in rows.
参考类标签样本,行。
参数:groups
grouping variable for the averaging by rowsum. If NULL, all samples (rows) are averaged.
分组变量的平均rowsum。如果NULL“所有样本(行)的平均值。
参数:operator
the operator to be used
operator使用
参数:hard.operator
optional: a logical determining whether only hard samples should be counted
可选:逻辑判定是否应算作唯一的硬样品
Details
详细信息----------Details----------
Basically, the reference is summed up. For hard operators, the reference is hardened first: soft values, i.e. r in (0, 1) are set to NA.
基本上,总结了参考。硬运营商,参考硬化:软值,即r(0,1)设置为NA。
值----------Value----------
number of samples in each group (rows) for each class (columns) and all further dimensions of ref.
每个组(行)为每个类(列)和文献的所有进一步的尺寸中的样本数。
(作者)----------Author(s)----------
Claudia Beleites
实例----------Examples----------
ref <- softclassval:::ref
ref
nsamples (ref)
nsamples (ref, hard.operator = TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|