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

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

[复制链接]
发表于 2012-9-30 02:28:37 | 显示全部楼层 |阅读模式
boxes(simba)
boxes()所属R语言包:simba

                                         Adaption of boxplot.n.
                                         自适应boxplot.n。

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

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

boxes uses boxplot to produce a boxplot, which is then annotated with the number of obbservations in each group. Does allow for more flexibility compared to boxplot.n. Default size of the text is bigger and per default the numbers are not plotted directly on the x-axis and their distance from the axis can be changed.batons uses boxplot to create batonplots which give the same information but take up less space.
boxes使用boxplot产生一个盒形图,然后这是与在各组的数目obbservations注释的。是否允许更大的灵活性相比boxplot.n。默认的文字大小是大,每默认情况下,这些数字是没有直接绘制于x轴和从轴的距离是可以改变的。“batons使用boxplot创建batonplots,提供相同的信息但占用更少的空间。


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


boxes(..., top = FALSE, shrink = 1, textcolor = NULL, yadj = NULL)

batons(...)



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

参数:...
Parameters passed to boxplot. To obtain batons the following boxplot-arguments are defined within the function and cannot changed by the user: boxwex=0, medpch=19, medcex=1.5, boxlwd=1.5, whisklty=4, outpch=4, outcex=.5.  
参数传递到boxplot。为了获得警棍以下boxplot参数在函数里定义和不能改变的用户:boxwex=0,medpch=19,medcex=1.5,boxlwd=1.5,whisklty=4,outpch=4,outcex=.5。


参数:top
Should the numbers of observations be printed below or above the boxes? Defaults to below (top = FALSE).  
观察印刷的数字上面或下面的框?默认值(TOP = FALSE)。


参数:shrink
Parameter to scale the size of the numbers of observations. Above 1 increases size, below 1 until 0 decreases size.  
参数缩放观测值的数目的大小。 1增加以上下面的大小,1直到0减小尺寸。


参数:textcolor
Color of the text. Defaults to NULL which than uses the actual plotting colour of the graphics device.  
文本的颜色。默认为null,它比使用实际绘制的图形设备的颜色。


参数:yadj
Can be used to adjust the vertical plotting positions of the numbers of observations. Defaults to NULL - no adjustment.  
可以用来调整垂直绘点位置的观测值的数目。默认为空 - 没有调整。


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


Marian Koch <a href="mailto:marian.koch@uni-rostock.de">marian.koch@uni-rostock.de</a>, Gerald Jurasinski <a href="mailto:gerald.jurasinski@uni-rostock.de">gerald.jurasinski@uni-rostock.de</a>



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

boxplot, plot, boxplot.n
boxplot,plot,boxplot.n


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



data(abis)

## see environmental data (see documentation on data for details)[#环境数据(对数据的详细信息,请参阅文档)]
abis.env

## calculate the difference in similarities for the three major  [#计算相似的三个主要的区别在]
## vegetation types[#植被类型]
## therefore created a vector from the data expressing belonging[#因此,创建一个矢量数据表达属于]
## to the vegetation types:[#植被类型:]
tcs.sub <- rep(0, 61)
tcs.sub[abis.env[,29]==1] <- 1
tcs.sub[abis.env[,30]==1] <- 2
tcs.sub[abis.env[,31]==1] <- 3

## calculate similarity (Jaccard) between all pairs of plots[#计算对图之间所有的相似性(杰卡德)]
abis.jacc <- sim(abis.spec, method="jaccard")

## make boxplots regarding the similarities for each vegetation[#使各植被的相似性的盒状图]
## type, including the number of pairs contained in each box.[#类型,包括对每个方块中的数量。]
boxes(as.matrix(abis.jacc)~tcs.sub, shrink=1.2)

## prettier[#漂亮]
boxes(as.matrix(abis.jacc)~tcs.sub, notch=TRUE, col="grey50",
shrink=1.2, ylim=c(-0.1, 0.9))

## make batonplots[#使batonplots功能]
batons(as.matrix(abis.jacc)~tcs.sub)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-23 21:02 , Processed in 0.027311 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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