raster.lat {red} | R Documentation |
Create latitude layer.
Description
Create a layer depicting latitude based on any other.
Usage
raster.lat(layers)
Arguments
layers |
Raster* object as defined by package raster. |
Details
Using latitude (and longitude) in models may help limiting the extrapolation of the predicted area much beyond known areas.
Value
A RasterLayer object.
Examples
layers = red.examples("red.layers")
terra::plot(raster.lat(layers[[1]]))
[Package red version 1.6.1 Index]