rrange(sfsmisc)
rrange()所属R语言包:sfsmisc
Robust Range using Boxplot ‘Quartiles’
强大的范围内使用的盒形图“四分”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Compute a robust range, i.e. the usual range() as long as there are no outliers, using the “whisker boundaries” of boxplot.
计算一个强大的范围内,即通常的“range():”只要有,无异常值,使用中的“须界限”boxplot。
用法----------Usage----------
rrange(x, range=1, coef = 1.5, na.rm = TRUE)
参数----------Arguments----------
参数:x
numeric vector the robust range of which shall be computed.
数值向量的强大范围的规定计算。
参数:range
number for S compatibility; 1.5 * range is equivalent to coef.
S兼容性,“1.5 * range是相当于coef。
参数:coef
numeric multiplication factor definying the outlier boundary, see “Details” below.
数字乘法的因素definying的离群边界,请参阅下面的“详细信息”。
参数:na.rm
logical indicating how NA values should be handled; they are simply dropped when na.rm = TRUE as by default.
逻辑说明如何NA值应该被处理,他们只是在下跌的时候na.rm = TRUE,因为默认情况下。
Details
详细信息----------Details----------
The robust range is really just what boxplot.stats(x, coef=coef) returns as the whisker boundaries. This is the most extreme values x[j] still inside median plus/minus coef * IQR.
强大的范围是真的只是boxplot.stats(x, coef=coef)回报,晶须的界限。这是最极端的值x[j]里面还有中位数加/减coef * IQR。
值----------Value----------
numeric vector c(m,M) with m <= M which is (not strictly) inside range(x) = c(min(x),max(x)).
数字矢量c(m,M)m <= M(不严格)内range(x) = c(min(x),max(x))。
(作者)----------Author(s)----------
Martin Maechler, 1990.
参见----------See Also----------
range, fivenum, boxplot.
range,fivenum,boxplot。
实例----------Examples----------
stopifnot(rrange(c(1:10,1000)) == c(1,10))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|