map_dens: Plot the estimated density on map

Description Usage Arguments

View source: R/map_dens.R

Description

plot the estimated density om map by species using ggplot2. scale name, plot shape, and size of plot shape can change.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
map_dens(
  data,
  region,
  scale_name,
  ncol,
  shape,
  size,
  zoom_in_lon,
  zoom_in_lat,
  fig_output_dirname
)

Arguments

data

dataframe made by get_dens function

region

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

scale_name

unit of estimated density

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

output directory


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