Gsector: Directional Nearest neighbour distribution(old)

View source: R/Gsector.R

GsectorR Documentation

Directional Nearest neighbour distribution(old)

Description

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.

directions

alternative to theta, unit 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.


antiphon/Kdirectional documentation built on Feb. 13, 2023, 6:26 a.m.