unstack.solist: Unstack Each Spatial Object in a List of Objects

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

View source: R/unstack.R

Description

Given a list of two-dimensional spatial objects, apply

Usage

1
2
3
4
5
## S3 method for class 'solist'
unstack(x, ...)

## S3 method for class 'layered'
unstack(x, ...)

Arguments

x

An object of class "solist" or "layered" representing a list of two-dimensional spatial objects.

...

Ignored.

Details

The functions defined here are methods for the generic unstack. They expect the argument x to be a list of spatial objects, of class "solist" or "layered".

Each spatial object in the list x will be unstacked by applying the relevant method for unstack. This means that

The resulting unstacked objects will be collected into a list of the same kind as x. Typically the length of unstack(x) is greater than the length of x.

Value

A list belonging to the same class as x.

Author(s)

\spatstatAuthors

.

See Also

unstack

unstack.msr, unstack.ppp, unstack.psp

Examples

1
2
3
4
5
6
7
8
9
  A <- solist(finpines=finpines, cells=cells)
  A
  unstack(A)
  B <- layered(fin=finpines, loc=unmark(finpines),
              plotargs=list(list(), list(pch=16)))
  B
  plot(B)
  unstack(B)
  plot(unstack(B))

spatstat.geom documentation built on March 22, 2021, 9:09 a.m.