R/ggOceanMaps-package.R

#' Plot Data on Oceanographic Maps using ggplot2
#'
#' Uses ggplot2 syntax and shape files to plot research data on 
#' oceanographic maps anywhere around the globe.
#'
#' The general map-making function for \pkg{ggOceanMaps} is
#' \code{\link{basemap}}. This function creates a "canvas" on which research data
#' can be plotted. The \code{\link{basemap}} function is analogous 
#' to \code{\link[ggplot2]{ggplot}} function from the \pkg{ggplot2} package. 
#' Remember to use \code{data = <<NAMEOFDATASET>>} for additional geometries
#' you plot on \code{basemaps} (\code{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 \code{bathymetry} argument.
#' @keywords internal
"_PACKAGE"

Try the ggOceanMaps package in your browser

Any scripts or data that you put into this service are public.

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