methods.zclustermodel

0th

Percentile

Methods for Cluster Models

Methods for the experimental class of cluster models.

Keywords
models, spatial
Usage
# S3 method for zclustermodel
pcfmodel(model, …)

# S3 method for zclustermodel predict(object, …, locations, type = "intensity", ngrid = NULL)

# S3 method for zclustermodel print(x, …)

Arguments
model,object,x

Object of class "zclustermodel".

Arguments passed to other methods.

locations

Locations where prediction should be performed. A window or a point pattern.

type

Currently must equal "intensity".

ngrid

Pixel grid dimensions for prediction, if locations is a rectangle or polygon.

Details

Experimental.

Value

Same as for other methods.

See Also

zclustermodel

Aliases
  • methods.zclustermodel
  • pcfmodel.zclustermodel
  • predict.zclustermodel
  • print.zclustermodel
Examples
# NOT RUN {
  m <- zclustermodel("Thomas", kappa=10, mu=5, scale=0.1)
  m2 <- zclustermodel("VarGamma", kappa=10, mu=10, scale=0.1, nu=0.7)
  m
  m2
  g <- pcfmodel(m)
  g(0.2)
  g2 <- pcfmodel(m2)
  g2(1)
  Z <- predict(m, locations=square(2))
  Z2 <- predict(m2, locations=square(1))
  varcount(m, square(1))
  varcount(m2, square(1))
# }
Documentation reproduced from package spatstat, version 1.59-0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.