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

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

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

                                         Alternative plot and identify Functions for Ordination
                                         为协调不同的故事和识别功能

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

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

Ordination plot function especially for congested plots. Function ordiplot always plots only unlabelled points, but identify.ordiplot can be used to add labels to selected site, species or constraint points.  Function identify.ordiplot can be used to identify points from plot.cca, plot.decorana, plot.procrustes and plot.rad as well.
排序绘图功能,特别是拥挤的图。功能ordiplot总是只绘制未标记点,但identify.ordiplot可用于添加标签选址,物种或约束点。功能identify.ordiplot可以用来识别点plot.cca,plot.decorana,plot.procrustes和plot.rad好。


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


ordiplot(ord, choices = c(1, 2), type="points", display, xlim, ylim,
     cex = 0.7, ...)
## S3 method for class 'ordiplot'
identify(x, what, labels,  ...)
## S3 method for class 'ordiplot'
points(x, what, select, ...)
## S3 method for class 'ordiplot'
text(x, what, labels, select, ...)



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

参数:ord
A result from an ordination.
从一个协调的一个结果。


参数:choices
Axes shown.  
轴所示。


参数:type
The type of graph which may be "points", "text" or "none" for any ordination method.
类型的图形,这可能是"points","text"或"none"任何协调方法。


参数:display
Display only "sites" or "species". The default for most methods is to display both, but for cca, rda and capscale it is the same as in plot.cca.   
仅显示“网站”或“物种”。默认情况下,大多数方法是同时显示,但为cca,rda和capscale“”它是在plot.cca一样。


参数:xlim, ylim
the x and y limits (min,max) of the plot.
x和y的限制(最小值,最大值)的图。


参数:cex
Character expansion factor for points and text.
点和文本字符膨胀系数。


参数:...
Other graphical parameters.  
其他图形参数。


参数:x
A result object from ordiplot.
一个结果对象从ordiplot。


参数:what
Items identified in the ordination plot. The types depend on the kind of plot used. Most methods know sites and species, functions cca and rda know in addition  constraints (for "LC" scores), centroids and biplot, and plot.procrustes ordination plot has heads and points.
确定在协调图。类型取决于使用什么样的图。大多数方法都知道sites和species,功能cca和rda知道除了constraints“LC”分数,centroids和biplot和plot.procrustes协调图heads和points。


参数:labels
Optional text used for labels. Row names will be used if this is missing.
用于可选的文本标签。如果没有这个,将使用行名称。


参数:select
Items to be displayed.  This can either be a logical vector which is TRUE for displayed items or a vector of indices of displayed items.
要被显示的资料。这可以是一个逻辑向量TRUE显示的项目或显示项目的矢量的索引。


Details

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

Function ordiplot draws an ordination diagram using black circles for sites and red crosses for species.  It returns invisibly an object of class ordiplot which can be used by identify.ordiplot to label selected sites or species, or constraints in cca and rda.
功能ordiplot绘制一个排序图黑色圆圈的网站和物种红色的十字。它返回不可见的类的对象ordiplot可以使用identify.ordiplot标记所选网站或物种,或限制在cca和rda。

The function can handle output from several alternative ordination methods. For cca, rda and decorana it uses their plot method with option type = "points". In addition, the plot functions of these methods return invisibly an ordiplot object which can be used by identify.ordiplot to label points. For other ordinations it relies on scores to extract the scores.
该功能可以从几种可供选择的协调方法处理输出。对于cca,rda和decorana使用plot方法与选项“type = "points"。此外,plot功能,这些方法返回不可见的ordiplot对象,可以使用identify.ordiplot标注点。祝依赖于scores提取的分数。

For full user control of plots, it is best to call ordiplot with type = "none" and save the result, and then add sites and species using points.ordiplot or text.ordiplot which both pass all their arguments to the corresponding default graphical functions.
用户可完全控制的图,最好是调用“ordiplottype = "none"和保存结果,然后使用points.ordiplot或text.ordiplot都通过添加地点和物种他们的论据相应的默认图形功能。


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

Function ordiplot returns invisibly an object of class ordiplot with items sites, species and constraints (if these are available in the ordination object). Function identify.ordiplot uses this object to label the point.
功能ordiplot返回不可见的类的对象ordiplot与项目sites,species和constraints(如果这是在协调对象)。功能identify.ordiplot使用该对象标记点。


注意----------Note----------

The purpose of these functions is to provide similar functionality as the plot, plotid and specid methods in library labdsv. The functions are somewhat limited in parametrization, but you can call directly the standard identify and plot functions for a better user control.
这些功能的目的是提供类似的功能的plot,plotid和specid在图书馆labdsv方法。在参数化的功能是比较有限的,但你可以打检测直接与标准的identify和plot更好的用户控制功能。


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



Jari Oksanen




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

identify for basic operations, plot.cca, plot.decorana, plot.procrustes which also produce objects for identify.ordiplot and scores for extracting scores from non-vegan ordinations.   
identify的基本操作,plot.cca,plot.decorana,plot.procrustes这也产生对象提取分数从非identify.ordiplot和scores X>祝圣。


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


# Draw a plot for a non-vegan ordination (cmdscale).[画一个图的非素食主义者的协调(cmdscale)。]
data(dune)
dune.dis <- vegdist(wisconsin(dune))
dune.mds <- cmdscale(dune.dis, eig = TRUE)
dune.mds$species <- wascores(dune.mds$points, dune, expand = TRUE)
fig <- ordiplot(dune.mds, type = "none")
points(fig, "sites", pch=21, col="red", bg="yellow")
text(fig, "species", col="blue", cex=0.9)
# Default plot of the previous using identify to label selected points[以前使用的默认打印识别标记选定点]
## Not run: [#不运行:]
fig <- ordiplot(dune.mds)
identify(fig, "spec")
## End(Not run)[#(不执行)]


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-27 02:36 , Processed in 0.037944 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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