pcfinhom(spatstat)
pcfinhom()所属R语言包:spatstat
Inhomogeneous Pair Correlation Function
非均匀对相关函数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Estimates the inhomogeneous pair correlation function of a point pattern using kernel methods.
估计非均匀的点模式,使用内核的方法对相关功能。
用法----------Usage----------
pcfinhom(X, lambda = NULL, ..., r = NULL,
kernel = "epanechnikov", bw = NULL, stoyan = 0.15,
correction = c("translate", "Ripley"),
renormalise = TRUE, normpower=1,
reciplambda = NULL,
sigma = NULL, varcov = NULL)
参数----------Arguments----------
参数:X
A point pattern (object of class "ppp").
点模式(类的对象"ppp")。
参数:lambda
Optional. Values of the estimated intensity function. Either a vector giving the intensity values at the points of the pattern X, a pixel image (object of class "im") giving the intensity values at all locations, a fitted point process model (object of class "ppm") or a function(x,y) which can be evaluated to give the intensity value at any location.
可选。值的估计强度的功能。无论是矢量发出的格局X,一个像素的图像(类的对象"im")发出的强度值在所有地点,一个安装点过程模型(对象类的点的亮度值在"ppm")或function(x,y)可以进行评估,以在任何位置的强度值。
参数:r
Vector of values for the argument r at which g(r) should be evaluated. There is a sensible default.
向量参数的值r,g(r)应该进行评估。有一个合理的默认。
参数:kernel
Choice of smoothing kernel, passed to density.default.
选择平滑的内核,传递给density.default。
参数:bw
Bandwidth for smoothing kernel, passed to density.default.
带宽为平滑的内核,传递给density.default。
参数:...
Other arguments passed to the kernel density estimation function density.default.
其他参数传递给内核密度估计函数density.default。
参数:stoyan
Bandwidth coefficient; see Details.
带宽系数;详细。
参数:correction
Choice of edge correction.
选择边缘校正。
参数:renormalise
Logical. Whether to renormalise the estimate. See Details.
逻辑。无论到renormalise估计。查看详细信息。
参数:normpower
Integer (usually either 1 or 2). Normalisation power. See Details.
整数(通常是1或2)。标准化的力量。查看详细信息。
参数:reciplambda
Alternative to lambda. Values of the estimated reciprocal 1/lambda of the intensity function. Either a vector giving the reciprocal intensity values at the points of the pattern X, a pixel image (object of class "im") giving the reciprocal intensity values at all locations, or a function(x,y) which can be evaluated to give the reciprocal intensity value at any location.
替代lambda。值的估计倒数1/lambda的强度功能。无论是向量的倒数强度值的点的格局X,一个像素的图像(类的对象"im")的倒数强度值在所有地点,或function(x,y)可以进行评估,得到的倒数,在任何位置的强度值。
参数:sigma,varcov
Optional arguments passed to density.ppp to control the smoothing bandwidth, when lambda is estimated by kernel smoothing.
可选参数传递给density.ppp控制的平滑带宽,当lambda核平滑估计。
Details
详细信息----------Details----------
The inhomogeneous pair correlation function ginhom(r) is a summary of the dependence between points in a spatial point process that does not have a uniform density of points.
非齐次对相关功能ginhom(r)是一个总结的点与点之间的空间点过程中,并没有一个统一的点密度的依赖。
The best intuitive interpretation is the following: the probability p(r) of finding two points at locations x and y separated by a distance r is equal to
最好的直观解释是下列:的概率p(r)位置处找到两点x和y分离的距离r是等于
where lambda is the intensity function of the point process. For a Poisson point process with intensity function lambda, this probability is p(r) = lambda(x) * lambda(y) so ginhom(r) = 1.
lambda是功能点过程的强度。对于Poisson点过程强度功能lambda,这个概率是p(r) = lambda(x) * lambda(y)所以ginhom(r) = 1。
The inhomogeneous pair correlation function is related to the inhomogeneous K function through
不均匀的对相关函数有关的不均匀K函数通过
where Kinhom'(r) is the derivative of Kinhom(r), the inhomogeneous K function. See Kinhom for information about Kinhom(r).
Kinhom'(r)是Kinhom(r),非齐次K函数的导数。见Kinhom:信息Kinhom(r)的。
The command pcfinhom estimates the inhomogeneous pair correlation using a modified version of the algorithm in pcf.ppp.
命令pcfinhom估计在pcf.ppp的不均匀性对相关的算法使用修改后的版本。
If renormalise=TRUE (the default), then the estimates are multiplied by c^normpower where c = area(W)/sum[i] (1/lambda(x[i])). This rescaling reduces the variability and bias of the estimate in small samples and in cases of very strong inhomogeneity. The default value of normpower is 1 but the most sensible value is 2, which would correspond to rescaling the lambda values so that sum[i] (1/lambda(x[i])) = area(W).
如果renormalise=TRUE(默认值),然后估计是乘以c^normpower其中 c = area(W)/sum[i] (1/lambda(x[i])). ,这重新标度降低的变化和偏差的估计很强的不均匀性在小样本的情况下。 normpower的默认值是1,但最明智的值是2,这将符合重新调整lambda值,使 sum[i] (1/lambda(x[i])) = area(W).
值----------Value----------
A function value table (object of class "fv"). Essentially a data frame containing the variables
函数值表(类的对象"fv")。本质上是一个数据框包含的变量
参数:r
the vector of values of the argument r at which the inhomogeneous pair correlation function ginhom(r) has been estimated
矢量参数的值r不均匀性对相关功能ginhom(r)已估计
参数:theo
vector of values equal to 1, the theoretical value of ginhom(r) for the Poisson process
矢量的值等于1,为泊松过程的理论价值ginhom(r)
参数:trans
vector of values of ginhom(r) estimated by translation correction
向量的值ginhom(r)估计翻译校正
参数:iso
vector of values of ginhom(r) estimated by Ripley isotropic correction
ginhom(r)估计里普利各向同性修正值向量
as required.
根据需要。
(作者)----------Author(s)----------
Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>
参见----------See Also----------
pcf, pcf.ppp, Kinhom
pcf,pcf.ppp,Kinhom
实例----------Examples----------
data(residualspaper)
X <- residualspaper$Fig4b
plot(pcfinhom(X, stoyan=0.2, sigma=0.1))
fit <- ppm(X, ~polynom(x,y,2))
plot(pcfinhom(X, lambda=fit, normpower=2))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|