qmap: Quick map

View source: R/qmap.R

qmapR Documentation

Quick map

Description

qmap is a shortcut similar to ggplot2's qplot designed to quickly plot data with a limited range of options.

Usage

qmap(
  data,
  x = NULL,
  y = NULL,
  map.type = "panarctic",
  geom = "point",
  limits = "auto",
  bathymetry = FALSE,
  bathy.style = "poly_blues",
  ...
)

Arguments

data

Data frame to use.

x, y, ...

Aesthetics passed into each layer. Longitude and latitude columns are automatically recognized given that user has followed the PlotSvalbard standard naming. (ADD FUNCTION TO AUTOMATICALLY TRANSFORM DATA)

map.type

Type of map area. Options: "panarctic", "barentssea", "svalbard", "mosj", "kongsfjorden", "kongsfjordbotn", "kronebreen", or "rijpfjorden". See the type argument in basemap.

geom

Character vector specifying geom(s) to draw. Defaults to "point".

limits

Map limits. See the limits argument in basemap. If "auto" the limits are automatically selected using the second option in the list.

bathymetry

Logical indicating whether bathymetry should be added to the map.

bathy.style

Character defining the style for bathymetry contours. See the bathy.style argument in basemap.

Author(s)

Mikko Vihtakari


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