G3multi: Marked Nearest Neighbour Distance Function

View source: R/rapt_extend.R

G3multiR Documentation

Marked Nearest Neighbour Distance Function

Description

For a marked point pattern, estimate the distribution of the distance from a typical point in subset I to the nearest point of subset J.

Usage

G3multi(
  X,
  I,
  J,
  rmax = NULL,
  nrval = 128,
  disjoint = NULL,
  correction = c("rs", "km", "han")
)

Arguments

X

The observed point pattern, from which an estimate of the multitype distance distribution function G[3IJ](r) will be computed. It must be a marked point pattern. See Details.

I

Subset of points of X from which distances are measured.

J

Subset of points in X to which distances are measured.

rmax

Optional. Maximum value of argument r for which G[3IJ](r) will be estimated.

nrval

Optional. Number of values of r for which G[3IJ](r) will be estimated. A large value of nrval is required to avoid discretisation effects.

disjoint

Optional flag indicating whether the subsets I and J are disjoint. If missing, this value will be computed by inspecting the vectors I and J.

correction

Optional. Character string specifying the edge correction(s) to be used. Options are "none", "rs", "km", "hanisch", and "best". Alternatively correction="all" selects all options.

Details

The function G3multi generalises G3est (for unmarked point patterns) and G3dot (unimplmented) and G3cross (for multitype point patterns) to arbitrary marked point patterns.

See Also

G3cross, G3est

Other spatstat extensions: G3cross(), K3scaled(), Tstat.pp3(), bdist.points(), marktable.pp3(), marktable(), quadratcount.pp3(), quadrats.pp3(), rPoissonCluster3(), rjitter.pp3(), rjitter.ppp(), rjitter(), rpoint3(), sample.pp3(), sample.ppp(), shift.pp3(), studpermu.test.pp3(), studpermu.test(), superimpose.pp3()


aproudian2/rapt documentation built on Dec. 15, 2022, 4:24 a.m.