plotMaps: Plots maps of each species in a binomial list

Description Usage Arguments Value Examples

View source: R/plotMaps.R

Description

plotMaps plots maps showing both IUCN and Natural History Museum data to a directory specified by the user. The directroy must have been created prior to using this function, otherwise a "no such directory exists" error is thrown.

Usage

1
plotMaps(x, y, path = NULL)

Arguments

x

An object of class sf, sfc or sfg containing Natural History Museum records

y

An object of class sf, sfc or sfg containing IUCN records

path

path to destination folder entered as a string. This must have been created before using this function otherwise you will get an error.

Value

plots in the dir specified by user input

Examples

1
2
plotMaps(x, y)
'Enter path: path/to/dir'

JCur96/sfe documentation built on Sept. 2, 2020, 6:02 p.m.