Learn R Programming

spoccutils (version 0.1.0)

map_ggmap: ggpmap visualization of species occurences

Description

ggpmap visualization of species occurences

Usage

map_ggmap(x, zoom = 5, point_color = "#86161f")

Arguments

x
Input, object of class occdat
zoom
zoom level for map. Adjust depending on how your data look.
point_color
Default color of your points

Examples

Run this code
library("spocc")
ecoengine_data <- occ(query = 'Lynx rufus californicus', from = 'ecoengine', limit=100)
map_ggmap(ecoengine_data)
gbif_data <- occ(query = 'Accipiter striatus', from = 'gbif', limit=100)
map_ggmap(gbif_data)
bison_data <- occ(query = 'Accipiter striatus', from = 'bison', limit=100)
map_ggmap(bison_data)

Run the code above in your browser using DataLab