pcfdot.inhom(X, i, lambdaI = NULL, lambdadot = NULL, ...,
r = NULL, breaks = NULL,
kernel="epanechnikov", bw=NULL, stoyan=0.15,
correction = c("isotropic", "Ripley", "translate"),
sigma = NULL, varcov = NULL)
X
from which distances are measured.i
.
Either a vector giving the intensity values
at the points of type i
,
a pixel image (object of class "im"
) giving the
iX
.
A numeric vector, pixel image or function(x,y)
.r
.
Not normally invoked by the user.density.default
.density.default
.density.default
.density.ppp
to control the smoothing bandwidth, when lambdaI
or
lambdadot
is estimated by kernel smoothing."fv"
).
Essentially a data frame containing the variablesThe best intuitive interpretation is the following: the probability $p(r)$ of finding a point of type $i$ at location $x$ and another point of any type at location $y$, where $x$ and $y$ are separated by a distance $r$, is equal to $$p(r) = \lambda_i(x) lambda(y) g(r) \,{\rm d}x \, {\rm d}y$$ where $\lambda_i$ is the intensity function of the process of points of type $i$, and where $\lambda$ is the intensity function of the points of all types. For a multitype Poisson point process, this probability is $p(r) = \lambda_i(x) \lambda(y)$ so $g_{i\bullet}(r) = 1$.
The command pcfdot.inhom
estimates the inhomogeneous
multitype pair correlation using a modified version of
the algorithm in pcf.ppp
.
If the arguments lambdaI
and lambdadot
are missing or
null, they are estimated from X
by kernel smoothing using a
leave-one-out estimator.
pcf.ppp
,
pcfinhom
,
pcfdot
,
pcfcross.inhom
data(amacrine)
plot(pcfdot.inhom(amacrine, "on", stoyan=0.1), legendpos="bottom")
Run the code above in your browser using DataLab