Learn R Programming

chronosphere (version 0.4.0)

combine: Combine RasterLayers and one-dimensional RasterArrays and Spatial* objects with one-dimensinoal SpatialArrays

Description

Methods sequences that start with an NA do not yet work.

Usage

combine(x, ...)

# S4 method for XArray combine(x, ...)

# S4 method for RasterLayer combine(x, ...)

# S4 method for VectorSpatialClasses combine(x, ...)

Arguments

x

RasterLayer or RasterArray objects or Spatial* and SpatialArray objects to combine.

...

additional objects to combine.

Value

A RasterArray or SpatialArrayclass object.

Examples

Run this code
# NOT RUN {
data(dems)
a <- combine(dems[1], dems[2])
# }

Run the code above in your browser using DataLab