raster.lat: Create latitude layer.

View source: R/main.R

raster.latR Documentation

Create latitude layer.

Description

Create a layer depicting latitude based on any other.

Usage

raster.lat(layers)

Arguments

layers

Raster* object as defined by package raster.

Details

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

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

Related to raster.lat in red...