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

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

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

                                         Plot overlapping histograms
                                         绘制重叠直方图

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

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

Plot overlapping histograms
绘制重叠直方图


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


overlapHist(a, b, colors=c("red","blue","purple"), breaks=NULL, xlim=NULL,
        ylim=NULL, main=NULL, xlab=NULL, swap=FALSE)



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

参数:a
Data for the first histogram  
第一直方图数据


参数:b
Data for the second histogram  
第二直方图数据


参数:colors
Colors for the first histogram, the second histogram, and the overlappling areas.  
颜色为第一直方图,所述第二直方图,和overlappling领域。


参数:breaks
How many breaks users used in each histogram (should not be used)  
如何每个直方图中所用的许多场所的用户(不应该被使用)


参数:xlim
The range of x-axis  
的范围内的x轴


参数:ylim
The range of y-axis  
y-轴的范围内


参数:main
The title of the figure  
图中的标题


参数:xlab
The labels of x-axis  
的x-轴的标签


参数:swap
Specify TRUE to plot b first and then a. The default is FALSE to plot a first and then b.  
指定TRUE绘制b,然后再a。默认为FALSE绘制a,然后再b。


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

None. This function will plot only.
无。此功能将绘制。


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



Chris Miller provided this code on <a href="http://chrisamiller.com/science/2010/07/20/transparent-overlapping-histograms-in-r/">http://chrisamiller.com/science/2010/07/20/transparent-overlapping-histograms-in-r/</a>. The code is modified by Sunthud Pornprasertmanit (University of Kansas; psunthud@ku.edu)




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


# This function is not a public function.[此功能是不是一个公共的功能。]

# a &lt;- rnorm(10000, 0, 1)[< -  rnorm(10000,0,1)]
# b &lt;- rnorm(10000, 1, 1.5)[B < -  rnorm(10000,1,1.5)]
# overlapHist(a, b, main="Example")[overlapHist(一,二,主=“实施例”)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-25 07:08 , Processed in 0.024434 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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