map_cog: Plot the COG on map from VAST output

Description Usage Arguments

View source: R/map_cog.R

Description

plot the COG om map using ggplot2. category names, axis names, font size and plot shape can change.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
map_cog(
  data_type,
  category_name,
  region,
  ncol,
  shape,
  size,
  zoom_in_lon,
  zoom_in_lat,
  fig_output_dirname
)

Arguments

data_type

VAST ot nomical

category_name

names of each category

region

region of the data. please see require(maps) and unique(map_data("world")$region)

ncol

number of figures in line side by side. max is no. of "Category"

shape

shape of COG point

size

size of shape

zoom_in_lon

zoom in on the map if 1<, zoom out on the map if 1>, and 1 is the same size

zoom_in_lat

zoom in on the map if 1<, zoom out on the map if 1>, and 1 is the same size

fig_output_dirname

directory for output


Yuki-Kanamori/ggvast documentation built on Oct. 20, 2021, 12:11 p.m.