raster.long: Create longitude layer.

View source: R/main.R

raster.longR Documentation

Create longitude layer.

Description

Create a layer depicting longitude based on any other.

Usage

raster.long(layers)

Arguments

layers

Raster* object as defined by package raster.

Details

Using longitude (and latitude) 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.long(layers))

red documentation built on Sept. 9, 2023, 1:07 a.m.

Related to raster.long in red...