create.long: Create longitude layer.

View source: R/spatial_fn.R

create.longR 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 terra::rast().

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))

gecko documentation built on April 4, 2025, 2:22 a.m.

Related to create.long in gecko...