plot_datamap: Plot data heatmap on geographic map

Description Usage Arguments Author(s) References Examples

Description

Plot data heatmap on geographic map

Usage

1
2
plot_datamap(x, mapdatabase = "world", area = NULL, index = "rich",
  plot = TRUE, trans = "log10", gazetter = TRUE)

Arguments

x

an object of class records, see symbiota

mapdatabase

The map database to use in mapping, see plot_distmap

area

list with four elements. Currently mapdatabase does not contain areas such as Europe, however, this may be manually chosen like this: area = list(min_long = -10, max_long = 24, min_lat = 14, max_lat = 70)

index

character string, either "rec" (number of records) or "rich" (number of species)

plot

logical

trans

transformation of the data, defaukt = log10

gazetter

logical if Gazetter should be used to add long lat for USA counties where coordinates are missing; default = TRUE

Author(s)

Franz-Sebastian Krah

References

Gazetter: https://www.census.gov/geo/maps-data/data/gazetteer2017.html

Examples

1
2
3
4
5
6
## Not run: 
am.dist <- symbiota(taxon = "Amanita muscaria", db = "MyCoPortal")
head(recordsTable(am.dist))
plot_datamap(am.dist, mapdatabase = "state")

## End(Not run)

rSymbiota documentation built on July 7, 2019, 5:02 p.m.