unstack.solist

0th

Percentile

Unstack Each Spatial Object in a List of Objects

Given a list of two-dimensional spatial objects, apply

Keywords
manip, spatial
Usage
# S3 method for solist
unstack(x, …)

# S3 method for 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

  • a marked point pattern with several columns of marks will be separated into several point patterns, each having a single column of marks

  • a measure with \(k\)-dimensional vector values will be separated into \(k\) measures with scalar values

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.

See Also

unstack

unstack.msr, unstack.ppp, unstack.lpp, unstack.psp

Aliases
  • unstack.solist
  • unstack.layered
Examples
# NOT RUN {
  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))
# }
Documentation reproduced from package spatstat, version 1.55-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.