ordiresids(vegan)
ordiresids()所属R语言包:vegan
Plots of Residuals and Fitted Values for Constrained Ordination
图的残差与拟合值的约束排序
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The function provides plot.lm style diagnostic plots for the results of constrained ordination from cca, rda and capscale. Normally you do not need these plots, because ordination is descriptive and does not make assumptions on the distribution of the residuals. However, if you permute residuals in significance tests (anova.cca), you may be interested in inspecting that the residuals really are exchangeable and independent of fitted values.
该功能提供了plot.lm的风格的诊断图的约束协调的结果cca,rda和capscale。通常你并不需要这些图,因为协调是描述的,不作假设残差分布。但是,如果您置换残余物的显着性检验(anova.cca),你可能有兴趣在检查交换和独立的拟合值的残差真的是。
用法----------Usage----------
ordiresids(x, kind = c("residuals", "scale", "qqmath"),
residuals = "working", type = c("p", "smooth", "g"),
formula, ...)
参数----------Arguments----------
参数:x
Ordination result from cca, rda or capscale.
排序结果cca,rda或capscale。
参数:kind
The type of plot: "residuals" plot residuals against fitted values, "scale" the square root of absolute residuals against fitted values, and "qqmath" the residuals against expected distribution (defaults qnorm), unless defined differently in the formula argument).
的图类型:"residuals"的图残差对拟合值,"scale"绝对残差对拟合值的平方根,并"qqmath"的残差对预期分布(默认qnorm)除非另有界定,不同的formula参数)。
参数:residuals
The kind of residuals and fitted values. The argument is passed on to fitted.cca with alternatives "working" and "response".
种残差和拟合值。该参数被传递给fitted.cca的替代品"working"和"response"。
参数:type
The type of plot. The argument is passed on to lattice functions.
图的类型。的参数是传递到lattice功能。
参数:formula
Formula to override the default plot. The formula can contain items Fitted, Residuals, Species and Sites (provided that names of species and sites are available in the ordination result).
公式来覆盖默认的图。公式可以包含Fitted,Residuals,Species和Sites提供的名称的物种和网站的可在协调的结果。
参数:...
Other arguments passed to lattice functions.
其他参数传递给lattice功能。
Details
详细信息----------Details----------
The default plots are similar as in plot.lm, but they use Lattice functions xyplot and qqmath. The alternatives have default formulae but these can be replaced by the user. The elements available in formula or in the groups argument are Fitted, Residuals, Species and Sites.
默认的图形是相似的如在plot.lm,但他们使用Lattice功能xyplot和qqmath。的替代有默认的公式,但这些都可以由用户进行更换。式或groups参数的元素Fitted,Residuals,Species和Sites。
值----------Value----------
The function return a Lattice object that can displayed as plot.
(作者)----------Author(s)----------
Jari Oksanen
参见----------See Also----------
plot.lm, Lattice,
plot.lm,Lattice,
实例----------Examples----------
data(varespec)
data(varechem)
mod <- cca(varespec ~ Al + P + K, varechem)
ordiresids(mod)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|