[[.GDALDataset: GDALDataset [[]] accessor
Description
This function gives access to the GDALRasterBand using [[i]], where i is the band index to return.
Usage
# S3 method for GDALDataset
[[(x, slice)
Value
An object of GDALRasterBand R6 class.
Arguments
- x
GDALDatset. Automatically obtained from GDALDataset[[]] call.
- slice
Integer. The index for the band to access.