extent_grid: Extent grid

View source: R/extent_grid.R

extent_gridR Documentation

Extent grid

Description

Helper function to create a grid dimension with a sensible aspect ratio.

Usage

extent_grid(extent, dim = NULL, projection = NULL, lonlat = FALSE)

Arguments

extent

numeric vector, xmin,xmax,ymin,ymax

dim

optional dimension, 1 number or 2

projection

optional projection string to store

lonlat

if set uses cosine latitude scaling for width for longitude

Value

list of extent, dimension, projection

Examples

extent_grid(c(0, 1, 0, 2))

mdsumner/where documentation built on Aug. 27, 2023, 6:54 a.m.