ggOceanMaps-package: Plot Data on Oceanographic Maps using ggplot2

ggOceanMaps-packageR Documentation

Plot Data on Oceanographic Maps using ggplot2

Description

Uses ggplot2 syntax and shape files to plot research data on oceanographic maps anywhere around the globe.

Details

The general map-making function for ggOceanMaps is basemap. This function creates a "canvas" on which research data can be plotted. The basemap function is analogous to ggplot function from the ggplot2 package. Remember to use data = <<NAMEOFDATASET>> for additional geometries you plot on basemaps (basemap(60) + geom_point(data = data.frame(lon = 50, lat = 70), aes(x = lon, y = lat)) as an example). As a shortcut, you may also use qmap(data.frame(lon = c(10, 50), lat = c(60, 70))). Bathymetry is plotted using the bathymetry argument.

Author(s)

Maintainer: Mikko Vihtakari mikko.vihtakari@hi.no (ORCID) (Institute of Marine Research)

Other contributors:

  • Roger Bivand [contributor]

  • Hadley Wickham [contributor]

See Also

Useful links:


ggOceanMaps documentation built on May 29, 2024, 5:36 a.m.