Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/10_gadm_sp_core.R
Vignette will superimpose a region map over a larger (lower level) map.
1 2 3 4 | vignette(main, region, maincolor = "black",
regioncolor = "white", mainfill = "grey",
regionfill = "black",
mainsize = 1, regionsize = 0.5)
|
main |
Object gadm_sp |
region |
Object gadm_sp |
maincolor |
a valid color |
regioncolor |
a valid color |
mainfill |
a valid color |
regionfill |
a valid color |
mainsize |
Numeric border size |
regionsize |
Numeric border size |
—-
Object ggplot2
—-
Jean Pierre Decorps <jp.decorps@epiconcept.fr>
—-
—-
1 2 3 4 5 6 | # library(GADMTools)
# library(sp)
# library(ggplot2)
# FR <- gadm_loadCountries("FRA", level=1, basefile="./")
# AU <- subset(FR, regions="Auvergne", level=1)
# vignette(FR, AU)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.