Convert selected layers of a Satellite object to a RasterBrick
## S4 method for signature 'Satellite'
brick(x, layer = names(x), ...)
an object of class 'Satellite'
character vector (bcde codes) or integer vector (index) of
the layers to be stacked
additional arguments passed on to brick
path <- system.file("extdata", package = "satellite")
files <- list.files(path, pattern = glob2rx("LC8*.tif"), full.names = TRUE)
sat <- satellite(files)
brck <- brick(sat, c("B001n", "B002n", "B003n"))
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.