Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ggOceanMaps (version 2.2.0)

ggOceanMaps-package: 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.

Arguments

Author

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

Other contributors:

  • Roger Bivand [contributor]

  • Hadley Wickham [contributor]

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.

See Also