spatstat (version 1.36-0)

integral.msr: Integral of a Measure

Description

Computes the integral (total value) of a measure over its domain.

Usage

integral.msr(x, ...)

Arguments

x
A signed measure or vector-valued measure (object of class "msr").
...
Ignored.

Value

  • A numeric value (for a signed measure) or a vector of values (for a vector-valued measure).

Details

The integral (total value of the measure over its domain) is calculated.

See Also

msr, integral.im

Examples

Run this code
fit <- ppm(cells, ~x)
   rp <- residuals(fit)
   integral.msr(rp)

Run the code above in your browser using DataCamp Workspace