找回密码
 注册
查看: 351|回复: 0

R语言 softclassval包 nsamples()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 11:25:59 | 显示全部楼层 |阅读模式
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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-9 00:43 , Processed in 0.023566 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表