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

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

[复制链接]
发表于 2012-9-30 09:14:53 | 显示全部楼层 |阅读模式
tableWt(simPopulation)
tableWt()所属R语言包:simPopulation

                                         Weighted cross tabulation
                                         加权交叉制表

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Compute contingency tables taking into account sample weights.
考虑到样本权重计算列联表。


用法----------Usage----------


tableWt(x, weights = NULL, useNA = c("no", "ifany", "always"))



参数----------Arguments----------

参数:x
a vector that can be interpreted as a factor, or a matrix or  data.frame whose columns can be interpreted as factors.
的向量,可以被解释为一个因素,或一个矩阵或data.frame的列可以被解释为因素。


参数:weights
an optional numeric vector containing sample weights.
一个可选的数字向量的样本权重。


参数:useNA
a logical indicating whether to include extra NA levels  in the table.
逻辑指示是否包括额外的NA表中的水平。


Details

详细信息----------Details----------

For each combination of the variables in x, the weighted number of  occurence is computed as the sum of the corresponding sample weights.  If  weights are not specified, the function table is applied.
在x的变量的每一种组合,加权计算的发生数为相应的样本权重的总和。如果没有指定权重的功能table。


值----------Value----------

The (weighted) contingency table as an object of class table, an  array of integer values.
(加权)列联表类table,一个整数值数组的对象。


(作者)----------Author(s)----------


Andreas Alfons and Stefan Kraft



参见----------See Also----------

table, contingencyWt
table,contingencyWt


实例----------Examples----------


data(eusilcS)
tableWt(eusilcS[, c("hsize", "db040")], weights = eusilcS$rb050)
tableWt(eusilcS[, c("rb090", "pb220a")], weights = eusilcS$rb050,
    useNA = "ifany")

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-25 00:07 , Processed in 0.038370 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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