bisonmap | R Documentation |
Make map to visualize BISON data.
bisonmap( input = NULL, tomap = "points", geom = geom_point, jitter = NULL, customize = NULL ) ## S3 method for class 'bison' bisonmap( input = NULL, tomap = "points", geom = geom_point, jitter = NULL, customize = NULL ) ## S3 method for class 'bison_solr' bisonmap( input = NULL, tomap = "points", geom = geom_point, jitter = NULL, customize = NULL )
input |
Input bison object. |
tomap |
One of points (occurrences), county (counts by county), or state
(counts by state). For |
geom |
geom_point or geom_jitter, not quoted. |
jitter |
jitter position, see ggplot2 help. |
customize |
Pass in more to the plot. |
Map (using ggplot2 package) of points on a map.
## Not run: # Using function bison library("ggplot2") out <- bison(species="Accipiter", type="scientific_name", count=300) bisonmap(input=out) bisonmap(input=out, geom=geom_jitter, jitter=position_jitter(width = 0.3, height = 0.3)) # Using function bison_solr out <- bison_solr(scientificName='Ursus americanus', rows=200) bisonmap(out) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.