Learn R Programming

chronosphere (version 0.4.1)

[[,SpatialStack,ANY,ANY-method: Indexing to extract Spatial items from a SpatialStack object

Description

The single and double bracket subsetting is identical in the case of SpatialStacks.#'

Usage

# S4 method for SpatialStack,ANY,ANY
[[(x, i, drop = TRUE)

Value

A Spatial or SpatialStack class object.

Arguments

x

SpatialStack object.

i

subscript of vector-like subsetting.

drop

logical should the SpatialStack be dropped and the element be reduced to a single Spatial object?