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

R语言 spdep包 aple.plot()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:34:57 | 显示全部楼层 |阅读模式
aple.plot(spdep)
aple.plot()所属R语言包:spdep

                                        Approximate profile-likelihood estimator (APLE) scatterplot
                                         约轮廓似然估计(APLE)的散点图

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

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

A scatterplot decomposition of the approximate profile-likelihood estimator, and a local APLE based on the list of vectors returned by the scatterplot function.
散点图的大致轮廓似然估计,和当地APLE基于向量的散点图函数返回的列表上的分解。


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


aple.plot(x, listw, override_similarity_check=FALSE, useTrace=TRUE, do.plot=TRUE, ...)
localAple(x, listw, override_similarity_check=FALSE, useTrace=TRUE)



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

参数:x
a zero-mean detrended continuous variable
一个零均值的非趋势连续变量


参数:listw
a listw object from for example nb2listw
一个listw的对象例如nb2listw


参数:override\_similarity\_check
default FALSE, if TRUE - typically for row-standardised weights with asymmetric underlying general weights - similarity is not checked
默认是false,如果是TRUE  - 通常行标准化与不对称相关的一般权重权重 - 相似性是不检查


参数:useTrace
default TRUE, use trace of sparse matrix W %*% W (Li et al. (2010)), if FALSE, use crossproduct of eigenvalues of W as in Li et al. (2007)
默认为true,使用跟踪稀疏矩阵W %*% W(Li等(2010)),如果为FALSE,使用交叉积的特征值WLi等人。 (2007)


参数:do.plot
default TRUE: should a scatterplot be drawn
默认为true:应该得出的散点图


参数:...
other arguments to be passed to plot
被传递plot的其他参数


Details

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

The function solves a secondary eigenproblem of size n internally, so constructing the values for the scatterplot is quite compute and memory intensive, and is not suitable for very large n.
功能解决了二次特征值的大小为n的内部,所以建设的散点图是相当的值计算和内存密集型的,是不适合非常大的n。


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

aple.plot returns list with components:
aple.plot返回的组件列表:


参数:X
A vector as described in Li et al. (2007), p. 366.
Li等人所描述的向量。 (2007),页。 366。


参数:Y
A vector as described in Li et al. (2007), p. 367.
Li等人所描述的向量。 (2007),页。 367。

localAple returns a vector of local APLE values.
localAple返回本地APLE值的向量。


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


Roger Bivand <a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>



参考文献----------References----------

<h3>See Also</h3>

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


## Not run: [#不运行:]
example(aple)
plt_out <- aple.plot(as.vector(scale(wheat$yield_detrend, scale=FALSE)),
nb2listw(nbr12, style="W"), cex=0.6)
crossprod(plt_out$Y, plt_out$X)/crossprod(plt_out$X)
lm_obj <- lm(Y ~ X, plt_out)
abline(lm_obj)
abline(v=0, h=0, lty=2)
zz <- summary(influence.measures(lm_obj))
infl <- as.integer(rownames(zz))
points(plt_out$X[infl], plt_out$Y[infl], pch=3, cex=0.6, col="red")
wheat$localAple <- localAple(as.vector(scale(wheat$yield_detrend, scale=FALSE)),
nb2listw(nbr12, style="W"))
mean(wheat$localAple)
hist(wheat$localAple)
spl <- list("sp.text", coordinates(wheat)[infl,], rep("*", length(infl)))
spplot(wheat, "localAple", sp.layout=spl)

## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 14:47 , Processed in 0.027416 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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