adaptive.density

0th

Percentile

Adaptive Estimate of Intensity of Point Pattern

Computes an adaptive estimate of the intensity function of a point pattern.

Keywords
methods, smooth, spatial
Usage
adaptive.density(X, …, method=c("voronoi","kernel"))
Arguments
X

Point pattern (object of class "ppp" or "lpp").

method

Character string specifying the estimation method

Additional arguments passed to densityVoronoi or densityAdaptiveKernel.

Details

This function is an alternative to density.ppp. It computes an estimate of the intensity function of a point pattern dataset. The result is a pixel image giving the estimated intensity.

If method="voronoi" the data are passed to the function densityVoronoi which estimates the intensity using the Voronoi-Dirichlet tessellation.

If method="kernel" the data are passed to the function densityAdaptiveKernel which estimates the intensity using a variable-bandwidth kernel estimator.

Value

A pixel image (object of class "im") whose values are estimates of the intensity of X.

See Also

density.ppp, densityVoronoi, densityAdaptiveKernel, im.object.

Aliases
  • adaptive.density
Examples
# NOT RUN {
  plot(adaptive.density(nztrees, 1), main="Voronoi estimate")
# }
Documentation reproduced from package spatstat, version 1.61-0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.