auto_limits: Automatic limits for basemap

View source: R/auto_limits.R

auto_limitsR Documentation

Automatic limits for basemap

Description

An internal function to make basemap code more readable

Usage

auto_limits(type, limits, data, limits.lon = NULL, limits.lat = NULL)

Arguments

type

see the type argument for basemap

limits

Longitude and latitude columns in data. The elements 2 and 3 in the limits argument for basemap

data

Dataframe containing data for which the limits should be calculated. The element 1 in the limits limits argument for basemap

limits.lon, limits.lat

Numeric. The level of rounding for longitude and latitude, respectively. If NULL, sensible default values are used.

Details

This is an internal function, which is automatically run by the basemap function.

Author(s)

Mikko Vihtakari

See Also

basemap


MikkoVihtakari/PlotSvalbard documentation built on July 12, 2022, 10:20 a.m.