spatstat (version 1.28-2)

intensity.ppp: Empirical Intensity of Point Pattern

Description

Computes the average number of points per unit area in a point pattern dataset.

Usage

## S3 method for class 'ppp':
intensity(X, ...)

Arguments

X
A point pattern (object of class "ppp").
...
Ignored.

Value

  • A numeric value (giving the intensity) or numeric vector (giving the intensity for each possible type).

Details

This is a method for the generic function intensity It computes the empirical intensity of a point pattern (object of class "ppp"), i.e. the average density of points per unit area.

If the point pattern is multitype, the intensities of the different types are computed separately.

See Also

intensity, intensity.ppm

Examples

Run this code
intensity(cells)

Run the code above in your browser using DataCamp Workspace