extract-Pimage: Extract parts of Pimage.

Description Usage Arguments Details Value See Also

Description

Extraction with "[" can be done in the usual ways by numeric or integer indexes, the result is returned as a raster. There is no replacement method, attemping to do so is an error.

Usage

1
2
## S3 method for class 'Pimage'
x[i, j, drop = TRUE, ...]

Arguments

x

Pimage object

i

numeric or logical vector

j

ignored

drop

ignored

...

ignored

Details

Use [[.Pimage to extract a single time step, and subset.Pimage to extract multiple elements without coercion to Raster.

Value

RasterLayer, or Pimage, see Details

See Also

cut.Pimage for creating temporal partitions.


KateGoodenough/RoL-SGAT documentation built on June 11, 2019, 1:29 p.m.