Description Usage Arguments Value
Given a path to rasters and a factor for aggregating, create a brick and save as mat. Not to be confused with raster2mat which handles the save.
1 2 | rasters_to_mat(srcpath = ".", fact = 5, logscale = FALSE,
dstfile = "./output.mat.gz", verbose = FALSE, ...)
|
srcpath |
character, the path to the raster files (.grd) |
fact |
numeric the positive aggregating factor |
logscale |
logical if TRUE |
dstfile |
the destination filename (.mat or .mat.gz) |
verbose |
logical |
... |
further arguments for |
value returned by sinkrtools::raster2mat()
or NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.