plot.SHmod: Plot a suitable habitat model on a map

Description Usage Arguments Author(s) See Also

View source: R/plot.SHmod.R

Description

Plot method for SHmod objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'SHmod'
plot(
  x,
  limits = "auto",
  type = "default",
  legend.position = "right",
  base_size = 8,
  land.col = "grey80",
  ...
)

Arguments

x

SHmod object from suitable.habitat function.

limits

Map limits. See basemap. The option "auto" (default) limits the map using coordinate range of mod. Alternatively use a numeric vector as described in basemap documentation.

type

Character argument defining the types of model data to be plotted:

  • "raw" Only raw data. I.e. the grid cell data directly from the oceanographic model.

  • "raster" Only raster data. See suitable.habitat and rasterize.suitable.habitat

  • "polygon" Only polygon data. See suitable.habitat and polygonize.suitable.habitat

  • "hexagon" Only hexagon data. See suitable.habitat and hexagonize.suitable.habitat

  • "raw&raster" Options "raw" and "raster" on top of each other.

  • "lim.fact" Limiting factors as raster data.

  • "default" Options "raw", "raster", and "polygon" on top of each other.

legend.position

The position for ggplot2 legend. See the argument with the same name in theme.

base_size

Base size parameter for ggplot. See theme_bw.

land.col

Character code specifying the color of land.

...

Additional arguments passed to basemap.

Author(s)

Mikko Vihtakari

See Also

suitable.habitat habitat.space


MikkoVihtakari/SuitableHabitat documentation built on Jan. 30, 2021, 12:50 a.m.