Skip to contents

Estimate the anisotropic pair correlation function (2d and 3d), as defined in f 1991, f. 5.2-5.3.

Usage

pcf_anisotropic_old(
  x,
  r,
  theta,
  h,
  stoyan = 0.15,
  correction = "translation",
  n_dir = 7
)

Arguments

x

pp, list with $x~coordinates $bbox~bounding box

r

radius vector at which to estimate

theta

vector or list of vectors for for angles, see details.

h

widths of epanechnicov kernels, vector of two values, one for ranges and and one for angles.

stoyan

If h not given, use h=c( stoyan/lambda^(1/dim), stoyan*pi) (cf. pcf.ppp-function in spatstat-package).

correction

"none" or translation. Translation only for rectangle box.

n_dir

Angle grid resolution (in case theta not given)

The antipode symmetry makes it necessary to compute only on one half of the circle/sphere.