Learn R Programming

spocc (version 0.2.0)

plot.occdat: Plot occ function output on a map (uses base plots via the rworldmap package)

Description

Plot occ function output on a map (uses base plots via the rworldmap package)

Usage

## S3 method for class 'occdat':
plot(x, ...)

Arguments

x
Input object from occ function, of class occdat
...
Further args passed on to points fxn

Examples

Run this code
spnames <- c('Accipiter striatus', 'Setophaga caerulescens', 'Spinus tristis')
out <- occ(query=spnames, from='gbif', gbifopts=list(hasCoordinate=TRUE))
plot(out, cex=1, pch=10)

Run the code above in your browser using DataLab