as.layered.msr {spatstat.model} | R Documentation |
Convert Measure To Layered Object
Description
Converts a measure into a layered object.
Usage
## S3 method for class 'msr'
as.layered(X)
Arguments
X |
A measure (object of class |
Details
This function converts the object X
into an object of class "layered"
.
It is a method for the generic as.layered
for the class of measures.
If X
is a vector-valued measure,
then as.layered(X)
consists of several layers,
each containing a scalar-valued measure.
Value
An object of class "layered"
(see layered
).
Author(s)
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk.
See Also
Examples
P <- rpoispp(100)
fit <- ppm(P ~ x+y)
rs <- residuals(fit, type="score")
as.layered(rs)
[Package spatstat.model version 3.3-1 Index]