For a marked point pattern,
estimate the inhomogeneous version of the multitype
GmultiInhom(X, I, J,
lambda = NULL, lambdaI = NULL, lambdaJ = NULL,
lambdamin = NULL, …,
r = NULL,
ReferenceMeasureMarkSetI = NULL,
ratio = FALSE)
A spatial point pattern (object of class "ppp"
.
A subset index specifying the subset of points from which
distances are measured. Any kind of subset index acceptable
to [.ppp
.
A subset index specifying the subset of points to which
distances are measured. Any kind of subset index acceptable
to [.ppp
.
Intensity estimates for each point of X
.
A numeric vector of length equal to npoints(X)
.
Incompatible with lambdaI,lambdaJ
.
Intensity estimates for each point of X[I]
.
A numeric vector of length equal to npoints(X[I])
.
Incompatible with lambda
.
Intensity estimates for each point of X[J]
.
A numeric vector of length equal to npoints(X[J])
.
Incompatible with lambda
.
A lower bound for the intensity,
or at least a lower bound for the values in lambdaJ
or lambda[J]
.
Ignored.
Vector of distance values at which the inhomogeneous
Optional. The total measure of the mark set. A positive number.
Logical value indicating whether to save ratio information.
Object of class "fv"
containing the estimate of the
inhomogeneous multitype
See Cronie and Van Lieshout (2015).
Cronie, O. and Van Lieshout, M.N.M. (2015) Summary statistics for inhomogeneous marked point processes. Annals of the Institute of Statistical Mathematics DOI: 10.1007/s10463-015-0515-z
# NOT RUN {
X <- amacrine
I <- (marks(X) == "on")
J <- (marks(X) == "off")
mod <- ppm(X ~ marks * x)
lam <- fitted(mod, dataonly=TRUE)
lmin <- min(predict(mod)[["off"]]) * 0.9
plot(GmultiInhom(X, I, J, lambda=lam, lambdamin=lmin))
# }
Run the code above in your browser using DataLab