Learn R Programming

spatstat (version 1.48-0)

Kmodel.dppm: K-function or Pair Correlation Function of a Determinantal Point Process Model

Description

Returns the theoretical $K$-function or theoretical pair correlation function of a determinantal point process model as a function of one argument $r$.

Usage

"Kmodel"(model, ...)
"pcfmodel"(model, ...)
"Kmodel"(model, ...)
"pcfmodel"(model, ...)

Arguments

model
Model of class "detpointprocfamily" or "dppm".
...
Ignored (not quite true -- there is some undocumented internal use)

Examples

Run this code
  model <- dppMatern(lambda=100, alpha=.01, nu=1, d=2)
  KMatern <- Kmodel(model)
  pcfMatern <- pcfmodel(model)
  plot(KMatern, xlim = c(0,0.05))
  plot(pcfMatern, xlim = c(0,0.05))

Run the code above in your browser using DataLab