View source: R/clusterfunctions.R
| clusterkernel.kppm | R Documentation |
Given a fitted cluster point process model, this command returns the probability density of the cluster offspring.
## S3 method for class 'kppm'
clusterkernel(model, ...)
model |
Cluster model. Either a fitted cluster or Cox model
(object of class |
... |
Parameter values for the model,
when |
Given 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.
The function clusterkernel is generic,
with methods for class "kppm" (described here)
and "character"
(described in clusterkernel.character).
A function in the R language with arguments x,y,....
.
clusterkernel.character,
clusterfield, kppm
fit <- kppm(redwood ~ x, "MatClust")
f <- clusterkernel(fit)
f(0.05, 0.02)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.