errbar(sfsmisc)
errbar()所属R语言包:sfsmisc
Scatter Plot with Error Bars
误差线的散点图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Draws a scatter plot, adding vertical “error bars” to all the points.
绘制散点图,将垂直的“误差线”,所有的点。
用法----------Usage----------
errbar(x, y, yplus, yminus, cap = 0.015,
ylim = range(y,yplus,yminus),
xlab= deparse(substitute(x)),
ylab= deparse(substitute(y)), ...)
参数----------Arguments----------
参数:x
vector of x values.
向量的x值。
参数:y
vector of y values.
y的值的矢量。
参数:yplus
vector of y values: the tops of the error bars.
y的值的矢量:的误差棒的顶部。
参数:yminus
vector of y values: the bottoms of the error bars.
y的值的矢量:的误差棒的底部。
参数:cap
the width of the little lines at the tops and bottoms of the error bars in units of the width of the plot. Default is 0.015.
图的宽度为单位的误差棒的顶部和底部的小的线的宽度。默认值是0.015。
参数:ylim
(numeric of length 2): the y-axis extents with a sensible default.
(长度为2的数字):y轴的一个合理的默认范围。
参数:xlab, ylab
axis labels for the plot, as in plot.default.
轴标签的图,在plot.default。
参数:...
Graphical parameters (see par) may also be supplied as arguments to this function.
图形参数(见par)也可以提供这个函数的参数。
(作者)----------Author(s)----------
Originally Charles Geyer, U.Chicago, early 1991;
then Martin M盲chler.
参见----------See Also----------
errbar in package Hmisc is similar.
errbar在包Hmisc是相似的。
实例----------Examples----------
y <- rnorm(10); d <- 1 + .1*rnorm(10)
errbar(1:10, y, y + d, y - d, main="Error Bars example")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|