as.layered.msr | R Documentation |
Converts a measure into a layered object.
## S3 method for class 'msr'
as.layered(X)
X |
A measure (object of class |
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.
An object of class "layered"
(see layered
).
.
as.layered
,
msr
.
P <- rpoispp(100)
fit <- ppm(P ~ x+y)
rs <- residuals(fit, type="score")
as.layered(rs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.