barploterrbar(ddCt)
barploterrbar()所属R语言包:ddCt
Barplot with error bars.
误差棒Barplot用。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Barplot with error bars.
误差棒Barplot用。
用法----------Usage----------
barploterrbar(y, yl, yh, barcol="orange", errcol="black", horiz=FALSE,
w=0.2,theCut=NULL,columnForDiffBars=TRUE,cex.axis =
par("cex.axis"),zeroForNA=TRUE,legend=FALSE,groups = NULL, order=FALSE, ...)
参数----------Arguments----------
参数:y
Numeric vector.
数字向量。
参数:yl
Numeric vector of same length as y.
数值向量为y的长度相同。
参数:yh
Numeric vector of same length as y.
数值向量为y的长度相同。
参数:barcol
Color of the bars.
条形的颜色。
参数:errcol
Color of the error bars.
误差棒的颜色。
参数:horiz
Logical. As in barplot.
逻辑。至于barplot。
参数:w
Size of the error bar ticks.
错误的条形刻度线的大小。
参数:theCut
The cut value
切值
参数:columnForDiffBars
Whether the matrix should be transposed (by default the rows are for diff bars)
是否应该换位矩阵(默认情况下,行差异条形)
参数:zeroForNA
Draw 0 instead of NA
绘制代替的NA 0
参数:cex.axis
Axis font cex
轴字体CEX
参数:legend
Sould a legend be plotted ?
要高度重视图例绘制?
参数:groups
a factor - if specified the bars are collored according to the group they belong to
一个因素 - 如果指定的条形都按照他们所属的组collored
参数:order
plot sample values in descending order
图样本值降序
参数:...
Further arguments that get passed on to barplot.
获得通过的barplot进一步的论据。
Details
详情----------Details----------
The function calls barplot with y and decorates it with error bars according to yl and
函数调用barplot与y和装饰误差棒yl
值----------Value----------
The function is called for its side effect, producing a plot.
该功能被称为它的副作用,产生一个图。
作者(S)----------Author(s)----------
Markus Ruschhaupt, Florian Hahne
参见----------See Also----------
barplot
barplot
举例----------Examples----------
y <- matrix(runif(80), ncol=5)
ym <- apply(y, 2, mean)
dy <- apply(y, 2, sd)*2/sqrt(nrow(y))
barploterrbar(ym, ym-dy, ym+dy, barcol="#0000c0", errcol="orange")[0000c0“,errcol。=”橙“)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|