pcf_anisotropic: Anisotropic pair correlation function

View source: R/pcf_anisotropic.R

pcf_anisotropicR Documentation

Anisotropic pair correlation function

Description

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

Usage

pcf_anisotropic(
  x,
  r,
  u,
  h,
  stoyan = 0.15,
  lambda,
  lambda_h,
  renormalise = TRUE,
  border = 1,
  divisor = "d",
  ...
)

Arguments

x

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

r

radius vector at which to estimate

u

direction to be converted to angles. Use angle_2_unit to transform from angles.

h

half-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).

lambda

optional vector of intensity estimates at points

lambda_h

if lambda missing and lambda_h is given, use this bandwidth in a kernel estimate of lambda(x). Otherwise lambda is set to constant.

renormalise

Scale lambda to align with Campbell formula.

border

Use translation correction? Default=1, yes. Only for cuboidal windows.

Details

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


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