histStack(geneplotter)
histStack()所属R语言包:geneplotter
Stacked histogram
叠加柱状图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Stacked histogram
叠加柱状图
用法----------Usage----------
histStack(x, breaks, breaksFun=paste, ylab="frequency", ...)
参数----------Arguments----------
参数:x
A list of numeric vectors.
一个数值向量列表。
参数:breaks
Histogram breaks, as in hist
直方图截断,hist
参数:breaksFun
Function, can be used to control the formatting of the bin labels. See example.
功能,可用于控制的bin标签的格式。见的例子。
参数:ylab
Label for the Y-axis on the plot
图Y轴的标签
参数:...
Further arguments that get passed to barplot
得到进一步的参数传递给barplot
Details
详情----------Details----------
The function calls hist for each element of x and plots the frequencies as a stacked barplot using
histx和图中的每个元素作为堆放barplot的频率使用的函数调用
值----------Value----------
The function is called for its side effect, producing a barplot on the active graphics device. It returns the result of the call to
该功能被称为它的副作用,产生了积极的图形设备barplot。它返回调用的结果
作者(S)----------Author(s)----------
Wolfgang Huber <a href="http://www.ebi.ac.uk/huber">http://www.ebi.ac.uk/huber</a>
举例----------Examples----------
x <- list(rnorm(42), rnorm(42)+2)
br <- seq(-3, 5, length=13)
cols <- c("#1D267B", "#ceffc0")[1D267B“,”#ceffc0“)]
histStack(x, breaks=br, col=cols)
histStack(x, breaks=br, col=cols,
breaksFun=function(z) paste(signif(z, 3)))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|