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