Kmodel.dppm | R Documentation |
Returns the theoretical K
-function
or theoretical pair correlation function of a determinantal point
process model as a function of one argument r
.
## S3 method for class 'dppm'
Kmodel(model, ...)
## S3 method for class 'dppm'
pcfmodel(model, ...)
## S3 method for class 'detpointprocfamily'
Kmodel(model, ...)
## S3 method for class 'detpointprocfamily'
pcfmodel(model, ...)
model |
Model of class |
... |
Ignored (not quite true – there is some undocumented internal use) |
A function in the R language, with one numeric argument r
,
that can be used to evaluate the theoretical K
-function or
pair correlation function of the model at distances r
.
.
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.