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

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

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

                                         Weighted box plot statistics
                                         加权箱线图统计

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

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

Compute the statistics necessary for producing box-and-whisker plots of  continuous or semi-continuous variables, taking into account sample weights.
计算的统计数据所需的连续或半连续的变量生产盒子和晶须的图,考虑到帐户样品重量。


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


spBwplotStats(x, weights = NULL, coef = 1.5,
              zeros = TRUE, do.out = TRUE)



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

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


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


参数:coef
a numeric value that determines the extension of the whiskers.
一个数字值,该值决定了扩展的晶须。


参数:zeros
a logical indicating whether the variable specified by  additional is semi-continuous, i.e., contains a considerable amount  of zeros.  If TRUE, the (weighted) box plot statistics are computed  for the non-zero data points only and the number of zeros is returned, too.
一个逻辑指示是否指定的变量由additional是半连续的,即,包含了相当数量的零。如果TRUE,(加权)的箱形图统计计算的非零数据点仅返回零的个数,太。


参数:do.out
a logical indicating whether data points that lie beyond the  extremes of the whiskers should be returned.
逻辑指示是否应该返回数据点已经超出了极端的晶须。


Details

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

The function quantileWt is used for the computation of  (weighted) quantiles.  The median is computed together with the first and the  third quartile, which form the box.  If range is positive, the  whiskers extend to the most extreme data points that have a distance to the  box of no more than coef times the interquartile range.  For  coef = 0, the whiskers mark the minimum and the maximum of the sample,  whereas a negative value causes an error.
用于计算(加权)分位数的函数quantileWt。中位数的计算与第一和第三四分位,形成箱一起。如果range是正的,晶须延伸到最极端的数据点的距离不超过coef倍的四分位范围的框。对于coef = 0,胡须标记的最小和最大的样本,而负数则导致一个错误。


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

A list of class "spBwplotStats" with the following components:
类"spBwplotStats"以下组件的列表:


参数:stats
A vector of length 5 containing the (weighted) statistics for  the construction of a box plot.
一个向量的长度为5的(加权)统计数据的箱线图的建设。


参数:n
if weights is NULL, the number of non-missing and, if  zeros is TRUE, non-zero data points.  Otherwise the sum of  the weights of the corresponding points.
如果weights是NULL,非缺失,如果zeros是TRUE,非零数据点的。否则的对应点的权重的总和。


参数:nzero
if zeros is TRUE and weights is  NULL, the number of zeros.  If zeros is TRUE and  weights is not NULL, the sum of the weights of the zeros.   If zeros is not TRUE, this is NULL.
zeros如果是TRUE和weights是NULL,零的个数。 zeros如果是TRUE和weights非NULL,零权重的总和。如果zeros不TRUE,这是NULL。


参数:out
if do.out, the values of any data points that lie beyond  the extremes of the whiskers.
如果do.out,已经超出了极端的晶须的任何数据点的值。


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


Stefan Kraft and Andreas Alfons



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

spBwplot, for producing (weighted) box plots of continuous or  semi-continuous variables.
spBwplot,用于生产(加权)的连续或半连续变量的箱线图。

quantileWt for the computation of (weighted) sample quantiles.
quantileWt(加权)采样位数计算。

boxplot.stats for the unweighted statistics for  box plots (not considering semi-continuous variables).
boxplot.stats箱线图(不考虑半连续变量)未加权的统计数据。


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


data(eusilcS)

## semi-continuous variable[#半连续变量]
spBwplotStats(eusilcS$netIncome,
    weights=eusilcS$rb050, do.out = FALSE)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-24 20:08 , Processed in 0.023895 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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