subset.gts.Rd
Subsetting a spatial time series object
# S3 method for class 'gts'
subset(x, longitude = NULL, latitude = NULL, grid = NULL, expand = 0, ...)
# S3 method for class 'grid'
subset(
x,
longitude = NULL,
latitude = NULL,
index.return = FALSE,
grid = NULL,
expand = 0,
...
)
# S3 method for class 'static'
subset(x, longitude = NULL, latitude = NULL, grid = NULL, expand = 0, ...)
the object to be subsetted.
The range of longitude to subset the grid.
The range of latitude to subset the grid.
A grid object, or a 'gts' object.
Number of units to expand the grid, generally degrees. It can be one number or two (longitude, latitude).
further arguments to be passed to or from other methods.
A 'gts' object after subsetting.