as.layered.msr: Convert Measure To Layered Object

as.layered.msrR 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 "msr").

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)

\spatstatAuthors

.

See Also

as.layered, msr.

Examples

   P <- rpoispp(100)
   fit <- ppm(P ~ x+y)
   rs <- residuals(fit, type="score")
   as.layered(rs)

spatstat.core documentation built on May 18, 2022, 9:05 a.m.