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

R语言 Sim.DiffProc包 hist_meth()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 02:20:56 | 显示全部楼层 |阅读模式
hist_meth(Sim.DiffProc)
hist_meth()所属R语言包:Sim.DiffProc

                                         Histograms of Random Variable X  
                                         随机变量X的直方图

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

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

The generic function hist_meth computes a histogram of the given data values.
的通用函数hist_meth计算所给定的数据值的直方图。


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


hist_meth(X, Breaks, Prob = c("TRUE", "FALSE"))



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

参数:X
a numeric vector of the observed values.  
所观察到的值的一个数值向量。


参数:Breaks
one of: o a vector giving the breakpoints between histogram cells. o a single number giving the number of cells for the histogram. o a function to compute the number of cells. o Breaks = c('scott','Sturges','FD') or manual.  
1:OA矢量给直方图单元之间的断点。办公自动化单号给单元的数量的直方图。 ò一个函数来计算单元的数目。 Ø符= C(SCOTT,“斯特奇斯,FD)或手动。


参数:Prob
logical; if TRUE, the histogram graphic is a representation of frequencies, the counts component of the result; if FALSE, probability densities, component density, are plotted (so that the histogram has a total area of one). Defaults to TRUE if and only if breaks are equidistant (and probability is not specified).  
逻辑;如果为TRUE,直方图的图形是一个表示的频率,结果的计数组件;如果为FALSE,概率密度,元件密度,绘制(使得直方图的一个有一个总面积)。默认设置为TRUE且仅当截断是等距离(未指定概率)。


Details

详细信息----------Details----------

The definition of histogram differs by source (with country-specific biases). R's default with equi-spaced breaks (also the default) is to plot the counts in the cells defined by breaks. Thus the height of a rectangle is proportional to the number of points falling into the cell, as is the area provided the breaks are equally-spaced.
直方图的定义,不同的来源(特定国家的偏见)。 R的等间隔符(默认值),默认情况下是策划中的计数单元所定义的截断。因此,一个矩形的高度是落入单元的点的数目成比例,因为所提供的区域的场所是相等的间隔。


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

plot.histogram for the random variable X.
plot.histogram为随机变量X


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



Boukhetala Kamal, Guidoum Arsalane.




参见----------See Also----------

Kern_meth Kernel Density,fctrep_Meth Empirical Distribution.
内核密度,Kern_meth的经验分布fctrep_Meth。


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



X <- rexp(1000,2)
X11()
hist_meth(X, Breaks='scott', Prob ="TRUE")
curve(dexp(x, 2), col = 2, lwd = 2, add = TRUE)
X11()
hist_meth(X, Breaks='FD', Prob ="TRUE")
curve(dgamma(x,1, 2), col = 2, lwd = 2, add = TRUE)
X11()
hist_meth(X, Breaks=100, Prob ="TRUE")
curve(dweibull(x,1, 0.5),col=2, lwd = 2, add = TRUE)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-23 05:51 , Processed in 0.026662 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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