Description Usage Arguments Value Examples
Make map to visualize BISON data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 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.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## 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.