# integral.msr

From spatstat v1.41-1
by Adrian Baddeley

##### Integral of a Measure

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

##### Usage

```
## S3 method for class 'msr':
integral(f, domain=NULL, \dots)
```

##### Arguments

- f
- A signed measure or vector-valued measure (object of class
`"msr"`

). - domain
- Optional window specifying the domain of integration.
- ...
- Ignored.

##### Details

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

##### Value

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

##### See Also

##### Examples

```
fit <- ppm(cells, ~x)
rp <- residuals(fit)
integral(rp)
```

*Documentation reproduced from package spatstat, version 1.41-1, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.