Learn R Programming

spatstat (version 1.63-3)

measureContinuous: Discrete and Continuous Components of a Measure

Description

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").

Value

Another measure (object of class "msr") on the same spatial domain.

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.

References

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

See Also

msr, with.msr, split.msr, measurePositive

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataLab