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

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

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

                                         Weighted sample quantiles
                                         加权样本位数

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

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

Compute quantiles taking into account sample weights.
考虑到样本权重计算位数。


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


quantileWt(x, weights = NULL, probs = seq(0, 1, 0.25), na.rm = TRUE)



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

参数:x
a numeric vector.
一个数值向量。


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


参数:probs
a numeric vector of probabilities with values in [0, 1].
一个数字的概率向量的值在[0, 1]。


参数:na.rm
a logical indicating whether any NA or NaN values  should be removed from x before the quantiles are computed.  Note  that the default is TRUE, contrary to the function  quantile.
一个逻辑说明是否有任何NA或NaNx前的位数计算值应删除。请注意,默认情况下是TRUE,相反的功能quantile。


Details

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

If weights are not specified then quantile(x, probs, na.rm=na.rm,    names=FALSE, type=1) is used for the computation.
如果权重没有指定,那么quantile(x, probs, na.rm=na.rm,    names=FALSE, type=1)被用于计算。

Note probabilities outside [0, 1] cause an error.
注意外[0, 1]导致错误的概率。


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

A vector of the (weighted) sample quantiles.
一个向量(加权)采样位数。


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



Stefan Kraft

A basic version of this function was provided by Cedric Beguin and Beat
Hulliger.




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

quantile
quantile


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


data(eusilcS)
quantileWt(eusilcS$netIncome, weights=eusilcS$rb050)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-24 17:46 , Processed in 0.020004 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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