spectrify | R Documentation |
Transform a given raster object to the resolution, datum, projection and extent used in SPECTRE.
spectrify(layers, continuous = TRUE, filepath = NULL)
layers |
SpatRaster. A raster object that you would like to be SPECTRE compatible. |
continuous |
logical. Whether the data present in |
filepath |
character. Optional file path to where the final raster layer
should be saved, in the format "folder/file.tif". If |
SpatRaster.
## Not run:
# For the sake of demonstration we will transform our raster layer "range".
distribution = gecko.data("range")
standard_dist = spectrify(distribution)
terra::plot(standard_dist)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.