seq | R Documentation |
Set of functions to generate regular sequences of bands, x-/y-cordinates and columns/rows.
## S3 method for class 'ursaRaster'
seq(...)
## S3 method for class 'ursaGrid'
seq(...)
ursa_seqx(obj)
ursa_seqy(obj)
ursa_seqc(obj)
ursa_seqr(obj)
... |
Set of arguments, which are recognized via their names (using regular expressions), position and classes.
|
obj |
Object of classes |
All ordinal sequences (axis
is \dQuote{c}
, \dQuote{r}
, \dQuote{z}
) start from 1L
.
axis=\dQuote{z}
is ignored in the function seq
for ursaGrid
object. The returned value is 1L
.
seq(obj)
for ursaRaster
objects is suitable for using in cycles across bands.
Functions ursa_seqx
and seq(obj, "x")
return x-coordinates of cell midpoints.
Functions ursa_seqy
and seq(obj, "y")
return y-coordinates of cell midpoints.
Functions ursa_seqc
, seq(obj, "samples")
and seq(obj, "c")
return sequence of cells in horizontal direction.
Functions ursa_seqr
, seq(obj, "lines")
and seq(obj, "r")
return sequence of cells in vertical direction.
Functions seq(obj)
and seq(obj, "z")
for ursaRaster
object returns sequence of bands.
Function seq(obj)
and seq(obj, "z")
for ursaGrid
object returns 1L
.
Nikita Platonov platonov@sevin.ru
session_grid(NULL)
session_grid(regrid(mul=1/16))
print(session_grid())
a <- ursa_dummy(nband=5)
print(a)
print(seq(a))
print(seq(a,"c"))
print(seq(a,"x"))
print(ursa_seqx())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.