powered by
Create a layer depicting latitude based on any other.
create.lat(layers)
SpatRaster.
SpatRaster. As defined in package terra, see terra::rast().
terra::rast()
Using latitude (and longitude) in models may help limiting the extrapolation of the predicted area much beyond known areas.
region = gecko.data("layers") terra::plot(create.lat(region[[1]]))
Run the code above in your browser using DataLab