as.layered: Convert Data To Layered Object

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/layered.R

Description

Converts spatial data into a layered object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 as.layered(X)

 ## Default S3 method:
as.layered(X)

 ## S3 method for class 'ppp'
as.layered(X)

 ## S3 method for class 'splitppp'
as.layered(X)

 ## S3 method for class 'solist'
as.layered(X)

 ## S3 method for class 'listof'
as.layered(X)

Arguments

X

Some kind of spatial data.

Details

This function converts the object X into an object of class "layered".

The argument X should contain some kind of spatial data such as a point pattern, window, or pixel image.

If X is a simple object then it will be converted into a layered object containing only one layer which is equivalent to X.

If X can be interpreted as consisting of multiple layers of data, then the result will be a layered object consisting of these separate layers of data.

Value

An object of class "layered" (see layered).

Author(s)

\spatstatAuthors

.

See Also

as.layered.msr, layered, split.ppp

Examples

1
2
   as.layered(cells)
   as.layered(amacrine)

spatstat.geom documentation built on April 15, 2021, 9:06 a.m.