create.lat {gecko}R Documentation

Create latitude layer.

Description

Create a layer depicting latitude based on any other.

Usage

create.lat(layers)

Arguments

layers

SpatRaster. As defined in package terra, see terra::rast().

Details

Using latitude (and longitude) 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.lat(region[[1]]))

[Package gecko version 1.0.0 Index]