Description Usage Arguments Value Examples
Construct a SAR_matrix
object from a matrix m
.
Each column of a SAR_matrix
corresponds to a band in
a SAR raster brick (i.e., to the depth dimension),
and each row corresponds to a pixel.
1 2 3 4 5 6 7 8 9 10 | SAR_matrix(
m,
extent = raster::extent(raster::raster()),
crs = "+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0",
brick_nrow,
brick_ncol,
brick_names = paste0("layer.", 1:ncol(m)),
brick_na_indices = integer(0),
attr_src
)
|
m |
A matrix with raster intensities. |
extent |
An |
crs |
A string specifying the coordinate reference system
(as in |
brick_nrow |
A single integer specifying the number of rows
(in pixels) of each band in the brick. Note that
|
brick_ncol |
A single integer specifying the number of
columns (in pixels) of each band in the brick. Note that
|
brick_names |
A vector of length |
brick_na_indices |
Integer vector giving row indices for locations
where |
attr_src |
Either another |
A SAR_matrix
object; a specialisation
of class matrix that includes geospatial
and brick dimension attributes.
1 2 | SAR_matrix(m = matrix(0, 4, 3),
brick_nrow = 4, brick_ncol = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.