# measureContinuous

From spatstat v1.64-1
by Adrian Baddeley

##### Discrete and Continuous Components of a Measure

Given a measure `A`

(object of class `"msr"`

)
these functions find the discrete and continuous parts
of `A`

.

##### Usage

```
measureDiscrete(x)
measureContinuous(x)
```

##### Arguments

- x
A measure (object of class

`"msr"`

).

##### Details

The functions `measureDiscrete`

and `measureContinuous`

return the discrete and continuous components, respectively,
of a measure.

If `x`

is a measure, then `measureDiscrete(x)`

is a measure
consisting only of the discrete (atomic) component of `x`

,
and `measureContinuous(x)`

is a measure consisting only of the
continuous (diffuse) component of `x`

.

##### Value

Another measure (object of class `"msr"`

)
on the same spatial domain.

##### References

Halmos, P.R. (1950) *Measure Theory*. Van Nostrand.

##### See Also

##### Examples

```
# NOT RUN {
X <- rpoispp(function(x,y) { exp(3+3*x) })
fit <- ppm(X, ~x+y)
rp <- residuals(fit, type="pearson")
rp
measureDiscrete(rp)
measureContinuous(rp)
# }
```

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

### Community examples

Looks like there are no examples yet.