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

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

[复制链接]
发表于 2012-10-1 15:10:36 | 显示全部楼层 |阅读模式
ordixyplot(vegan)
ordixyplot()所属R语言包:vegan

                                         Trellis (Lattice) Plots for Ordination
                                         网格(格)图排序

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

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

Functions ordicloud, ordisplom and ordixyplot provide an interface to plot ordination results using Trellis functions cloud, splom and xyplot in package lattice.
功能ordicloud,ordisplom和ordixyplot提供了一个接口使用网格功能的协调结果绘制cloud,splom和xyplot的包<X >。


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


ordixyplot(x, data = NULL, formula, display = "sites", choices = 1:3,
    panel = "panel.ordi", aspect = "iso", envfit,
    type = c("p", "biplot"), ...)
ordisplom(x, data=NULL, formula = NULL,  display = "sites", choices = 1:3,
    panel = "panel.ordi", type = "p",  ...)
ordicloud(x, data = NULL, formula, display = "sites", choices = 1:3,
    panel = "panel.ordi3d", prepanel = "prepanel.ordi3d",  ...)



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

参数:x
An ordination result that scores knows: any ordination result in vegan and many others.  
一个协调的结果,scores知道:vegan和许多其他任何协调结果。


参数:data
Optional data to amend ordination results. The ordination results are found from x, but you may give here data for other variables needed in plots. Typically these are environmental data.
可选的数据修改协调的结果。的协调结果发现从x,但你可能会在这里的图所需的其他变量的数据。通常情况下,这些环境数据。


参数:formula
Formula to define the plots. A default formula will be used if this is omitted. The ordination axes must be called by the same names as in the ordination results (and these names vary among methods). In ordisplom, special character . refers to the ordination result.  
公式定义的图。如果省略,将使用默认的公式。协调轴必须调用相同的名称在协调的结果(这些名称不同的方法)。在ordisplom,特殊字符.“是指协调的结果。


参数:display
The kind of scores: an argument passed to scores.  
种分数:一个参数传递给scores。


参数:choices
The axes selected: an argument passed to scores.   
选择的轴参数传递给scores。


参数:panel, prepanel
The names of the panel and prepanel functions.   
的名称的面板和prepanel功能。


参数:aspect
The aspect of the plot (passed to the lattice function).
方面的图(通过lattice功能)。


参数:envfit
Result of envfit function displayed in ordixyplot. Please note that this needs same choices as ordixyplot.
结果envfit函数显示在ordixyplot。请注意,这需要同样的choicesordixyplot。


参数:type
The type of plot. This knows the same alternatives as panel.xyplot. In addition ordixyplot has alternatives "biplot" and "arrows". The first displays fitted vectors and  factor centroids of envfit, or in constrained ordination, the biplot arrows and factor centroids if envfit is not given. The second (type = "arrows") is a trellis variant of ordiarrows and draws arrows by groups. The line parameters are controlled by trellis.par.set for superpose.line, and the user can set length, angle and ends parameters of panel.arrows.
图的类型。知道替代品panel.xyplot。此外ordixyplot有替代品"biplot"和"arrows"。第一个显示合适的向量和因素的质心envfit,或在受约束的协调,如果的的双标图箭头和要素重心envfit是不是。第二个(type = "arrows")是一个网格的ordiarrows的变体,并绘制箭头groups。为trellis.par.set,行参数控制superpose.line,用户可以设置length,angle和ends参数的panel.arrows。


参数:...
Arguments passed to scores methods or lattice functions.
参数传递给scores方法或lattice功能。


Details

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

The functions provide an interface to the corresponding lattice functions.  All graphical parameters are passed to the lattice function so that these graphs are extremely configurable. See Lattice and xyplot, splom and cloud for details, usage and possibilities.
的功能提供了一个接口对应的lattice函数。所有的图形参数被传递到lattice功能,使这些图形极为配置。见Lattice和xyplot,splom和cloud的详细信息,使用和可能性。

The argument x must always be an ordination result. The scores are extracted with vegan function scores so that these functions work with all vegan ordinations and many others.
参数x必须始终是一个协调的结果。提取的分数是vegan函数scores“这样,这些功能与所有的”vegan的祝圣和许多其他。

The formula is used to define the models. All functions have simple default formulae which are used if formula is missing.  If formula is omitted in ordisplom it produces a pairs plot of ordination axes and variables in data. If formula is given, ordination results must be referred to as . and other variables by their names. In other functions, the formula must use the names of ordination scores and names of data.
formula是用来定义模型。所有的函数都有简单的默认公式formula如果缺少。如果公式中省略了ordisplom,它会产生一个对图的配合轴和变量在data如果formula的,协调的结果必须.和其他变量,他们的名字。在其他功能方面,该公式必须使用协调分数和名称的data的名称。

The ordination scores are found from x, and data is optional. The data should contain other variables than ordination scores to be used in plots. Typically, they are environmental variables (typically factors) to define panels or plot symbols.
协调分数从x和data是可选的。 data应该包含其他变量而不是使用的图协调分数。通常,它们是环境变量(通常因素)来定义面板或绘图符号。

The proper work is done by the panel function. The layout can be changed by defining own panel functions. See panel.xyplot, panel.splom and panel.cloud for details and survey of possibilities.
适当的工作是通过面板功能。通过定义自己的面板功能布局可以改变。见panel.xyplot,panel.splom和panel.cloud的详细信息和调查的可能性。

Ordination graphics should always be isometric: same scale should be used in all axes. This is controlled (and can be changed) with argument aspect in ordixyplot. In ordicloud the isometric scaling is defined in panel and prepanel functions. You must replace these functions if you want to have non-isometric scaling of graphs. You cannot select isometric scaling in ordisplom.
排序图形应始终等角:在所有轴应使用相同的规模。这是控制参数aspect(可以改变)中ordixyplot。在ordicloud的等距缩放panel和prepanel函数中定义的。如果你想拥有不等距缩放的图形,您必须更换这些功能。您可以选择等距缩放ordisplom。


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

The function return Lattice objects of class "trellis".   
函数的返回Lattice的对象类"trellis"。


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


Jari Oksanen



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

Lattice, xyplot, splom, cloud, panel.splom, panel.cloud
Lattice,xyplot,splom,cloud,panel.splom,panel.cloud


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


data(dune)
data(dune.env)
ord <- cca(dune)
## Pairs plots[#对图]
ordisplom(ord)
ordisplom(ord, data=dune.env, choices=1:2)
ordisplom(ord, data=dune.env, form = ~ . | Management, groups=Manure)
## Scatter plot[#散点图]
ordixyplot(ord, data=dune.env, form = CA1 ~ CA2 | Management,
  groups=Manure)
## Choose a different scaling[#选择不同的缩放]
ordixyplot(ord, scaling = 3)
## ... Slices of third axis[#...第三轴片]
ordixyplot(ord, form = CA1 ~ CA2 | equal.count(CA3, 4), type = c("g","p"))
## Display environemntal variables[#显示environemntal变量]
ordixyplot(ord, envfit = envfit(ord ~ Management + A1, dune.env, choices=1:3))
## 3D Scatter plots[#3D散点图]
ordicloud(ord, form = CA2 ~ CA3*CA1, groups = Manure, data = dune.env)
ordicloud(ord, form = CA2 ~ CA3*CA1 | Management, groups = Manure,
   data = dune.env, auto.key = TRUE, type = c("p","h"))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-27 04:21 , Processed in 0.023380 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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