Create latitude layer.

Description

Create a layer depicting latitude based on any other.

Usage

1
raster.lat(layer)

Arguments

layer

RasterLayer 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

1
2