Learn R Programming

spoccutils (version 0.1.0)

map_ggplot: ggplot2 visualization of species occurences

Description

ggplot2 visualization of species occurences

Usage

map_ggplot(x, map = "world", point_color = "#86161f")

Arguments

x
Input, object of class occdat
map
(character) One of world, world2, state, usa, county, france, italy, or nz
point_color
Default color of your points

Examples

Run this code
library("spocc")
dat <- occ(query = 'Lynx rufus californicus', from = 'ecoengine', limit=100)
map_ggplot(dat)
map_ggplot(dat, "usa")
map_ggplot(dat, "county")

Run the code above in your browser using DataLab