multi_res | R Documentation |
Resamples raster to specified desired resolution using the raster package. NOTE: an attempt was made to use the SAGA resample but I had trouble aligning the rasters. I am sure that gdal can be used but for now funtioning is internal to R packages.
multi_res(input, output = "CoVars", resolution = c(2.5, 5, 10, 25))
input |
a |
resolution |
= c(5, 10, 25) multiple resolutions can be specified |
For the PEM project we generally start with a high resolution dtm. Resampling to a set of lower resolution DTMs is used to capture multi-scale influences on the ecological unit. NOTE: to ensure raster stacking of all covariates this operation should be completed only on data that has been cropped to the AOI using aoi_snap()
## generate default raster sizes multi_res(r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.