
Last chance! 50% off unlimited learning
Sale ends in
Given a cluster point process model, this command returns the probability density of the cluster offspring.
clusterkernel(model, …)# S3 method for kppm
clusterkernel(model, …)
# S3 method for character
clusterkernel(model, …)
Cluster model. Either a fitted cluster or Cox model
(object of class "kppm"
), or a character string
specifying the type of cluster model.
Parameter values for the model,
when model
is a character string.
A function in the R\ language with arguments x,y,…
.
Given a specification of a cluster point process model, this command
returns a function(x,y)
giving the two-dimensional
probability density of the cluster offspring points assuming a cluster parent
located at the origin.
# NOT RUN {
fit <- kppm(redwood ~ x, "MatClust")
f <- clusterkernel(fit)
f(0.1, 0.2)
# }
Run the code above in your browser using DataLab