n2000_plot: Plot Natura 2000 data

Description Usage Arguments Author(s)

View source: R/n2000_plot.R

Description

Wrapper around ggplot for convenience plotting with optional grid or administrative boundaries. Requires ggplot2 to be installed.

Usage

1
n2000_plot(x, option, borders = "midres", grid = F, sea = T)

Arguments

x

A sf object to plot.

option

The character type of data to plot. Options are "PO" ('presence only' - sites where the species is present), "PA" ('presence absence' - sites where the species is present and absent), "abundancelow" (the lower bound of abundance), "abundancehigh" (the higher bound of abundance), or "abundancemid" (the arithmetic mean of the upper and lower population bounds).

borders

(optional) A character input - should country borders be plotted? Options are "no", "lowres", "midres", "highres". Defaults to "midres", which, along with lowres is included in the package data. "highres" is first retrieved via the rnaturalearth package.

grid

(optional) A logical input. Should a grid be added too? Defaults to FALSE.

sea

(optional) A logical input. Should the sea be coloured in? Defaults to TRUE.

Author(s)

Matt Lewis


iiasa/rN2000 documentation built on Dec. 20, 2021, 6:55 p.m.