create.long {gecko} | R Documentation |
Create longitude layer.
Description
Create a layer depicting longitude based on any other.
Usage
create.long(layers)
Arguments
layers |
SpatRaster. As defined in package terra, see |
Details
Using longitude (and latitude) in models may help limiting the extrapolation of the predicted area much beyond known areas.
Value
SpatRaster.
Examples
region = gecko.data("layers")
terra::plot(create.long(region))
[Package gecko version 1.0.0 Index]