head | R Documentation |
Functions to extract first bands (head
), last bands (tail
) and first+last bands (series
) of raster image.
## S3 method for class 'ursaRaster' head(x, n = 3L, ...) ## S3 method for class 'ursaRaster' tail(x, n = 3L, ...) series(x, n = 3L, s=170, ...)
x |
Object of class |
n |
Positive integer. Number of extracted bands. |
s |
Positive numeric. Maximal size of memory in MB for extracted raster image in the assumption that class of values is |
... |
Not used. |
Function series
combines consequtive calling head(x); tail(x)
with checking the size of extracted part of raster image. If size exceeds specified value of the argument s
, then number of extracted bands n
is decreased.
Object of class ursaRaster
Nikita Platonov platonov@sevin.ru
session_grid(NULL) session_grid(regrid(mul=1/8)) a <- ursa_dummy(nband=101) print(head(a)) print(tail(a)) print(series(a,2)) print(series(a[1:5]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.