mapStations: Create a Summary Map of All Sonobuoy Stations

Description Usage Arguments Author(s)

View source: R/mapStations.R

Description

Return a ggmap object showing all sonobuoy stations.

Usage

1
2
3
4
5
6
7
8
9
mapStations(
  detectionData,
  zoom = "auto",
  crop = FALSE,
  map = NULL,
  title = "Sonobuoy Stations",
  colorBy = "cruise",
  size = 3
)

Arguments

detectionData

detection summary data returned by detectionSummary

zoom

zoom level used for the map. Default is 'auto', will back out from a zoom level of 10 until all data fits. If an integer, will force that zoom level to be used.

crop

flag whether or not to automatically crop the map to range of your data

map

Optional, a ggmap object to plot on. If left as NULL, will be created automatically by the getMap function. Can be included to reduce calls to getMap.

title

a title for the plot

colorBy

column to color points by

size

size of points to plot

Author(s)

Taiki Sakai taiki.sakai@noaa.gov


EricArcher/PAMsbuoy documentation built on March 3, 2021, 5:56 a.m.