clusterkernel: Extract Cluster Offspring Kernel

View source: R/clusterfunctions.R

clusterkernelR Documentation

Extract Cluster Offspring Kernel

Description

Given a cluster point process model, this command returns the probability density of the cluster offspring.

Usage

clusterkernel(model, ...)
## S3 method for class 'character'
clusterkernel(model, ...)

Arguments

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.

Details

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).

Value

A function in the R language with arguments x,y,....

Author(s)

\spatstatAuthors

.

See Also

clusterkernel.kppm), clusterfield, kppm.

Examples

  f <- clusterkernel("Thomas", kappa=10, scale=0.5)
  f(0.1, 0.2)

spatstat.random documentation built on Sept. 30, 2024, 9:46 a.m.