Estimate the directional nearest neighbour CDF.
Usage
Gsector(x, r, theta, unit, directions, epsilon, n_dir = 10)
Arguments
- x
point pattern, $x coords $bbox bounding box
- r
Ranges
- theta
Direction sector central angles, list of ncol(x$x)-components.
- unit
Alternative to theta, a matrix of direction vectors.
- epsilon
Direction sector width angles
- n_dir
If theta not given, greate a grid with this resolution.
Details
This is a directed sector version of the G-function in spatstat.
Directions are angle to positive x-axis (2D) or azimuth, inclination (3D).
Theta should be a list of length 1 (2D) and 2 (3D) defining a grid of these angles.