marktable.pp3: Tabulate Marks in Neighbourhood of Every Point in a Point...

View source: R/rapt_extend.R

marktable.pp3R Documentation

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern

Description

Visit each point in a point pattern, find the neighbouring points, and compile a frequency table of the marks of these neighbour points.

Usage

## S3 method for class 'pp3'
marktable(X, R, N, exclude = TRUE, collapse = FALSE)

Arguments

X

A marked point pattern. An object of class "ppp".

R

Neighbourhood radius. Incompatible with N.

N

Number of neighbours of each point. Incompatible with R.

exclude

Logical. If exclude=TRUE, the neighbours of a point do not include the point itself. If exclude=FALSE, a point belongs to its own neighbourhood.

collapse

Logical. If collapse=FALSE (the default) the results for each point are returned as separate rows of a table. If collapse=TRUE, the results are aggregated according to the type of point.

See Also

Other spatstat extensions: G3cross(), G3multi(), K3scaled(), Tstat.pp3(), bdist.points(), 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.