Description Usage Arguments Details Value Author(s)
Function that calculates the inhomogeneous K-functio as well as the lambdavalues required by spherstat
1 2 |
X |
An object of class |
r |
Optional. Numeric vector of radii at which K(r) will be evaluated. |
rmax |
Optional. Maximum value of argument r for which Ksph(r) will be estimated. |
nrval |
Optional. Number of values of r for which Ksph(r) will be estimated. |
correction |
Character string or character vector specifying the choise of edge corrections. |
intenss |
Optional. A function or vector representing the intensity at the observed locations. Only applicable for inhomgeneous point processes. |
... |
Additional arguments passed to |
This function has been implemented since Ksphere
needs an argument lambdavalues
when calculating the inhomogenious K-function.
Hence, when applying the envelope
function from spatstat
we need to supply additional information for each point pattern for which K(r)
should be calculated.
That is at this point not possible.
This function calculates the lambdavalues
and the applies Ksphere
.
The lambdavalues
are calculated based on the function FUN
.
If X$window$type == "sphere"
then no edge correction is done eventhough correction = "iso"
.
An object as returned by Ksphere
. An fv
object.
Andreas Christoffersen andreas@math.aau.dk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.