Learn R Programming

spatstat (version 1.31-3)

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 DataLab