View source: R/pcf_directional.R
pcf_directional | R Documentation |
We use translation edge correction if we have an axis-oriented bounding box. Otherwise minus-correction.
pcf_directional(x, u, epsilon, r, ..., cylindrical = FALSE)
x |
pp, spatstat's ppp-object, or a coordinate matrix, or a list with $x~coordinates $bbox~bounding box |
u |
unit direction(s), if many then one direction per row. |
epsilon |
Central angle for the directed cone (total angle is 2 epsilon) |
r |
radius vector at which to evaluate K |
... |
Passed on to |
cylindrical |
If TRUE, compute the cylindrical version using |
Compute the sector/cone/cylindrical pcf function. This version uses the more general anisotropic-inhomonogeneous pcf_anin_conical and pcf_anin_cylinder
, by setting the intensity = constant. See there for further parameters, especially kernel smoothing options.
Returns a dataframe.
x <- matrix(runif(300), ncol=2) k <- pcf_directional(x) plot(k, rmax = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.