Description Usage Arguments Value Note Author(s) References See Also Examples
Save a stripped ( with stripSP() ) GADM object for later use it with ggplot2.
1 | gadm_saveStripped(x,fname, basefile = './')
|
x |
Object gadm_sp with stripped property == TRUE |
fname |
String file name of a region. You don't have to specify the suffix (admX) nor the file extension (.rds). |
basefile |
Character vector the path of the directory where shapefiles are stored. Default is "./" |
Boolean TRUE
—-
Jean Pierre Decorps <jp.decorps@epiconcept.fr>
—-
—-
1 2 3 4 5 | # library(GADMTools)
# library(sp)
# BE <- gadm_loadCountries('BEL', level=2)
# S_BE <- stripSP(BE)
# gadm_saveStripped(S_BE, "BEL")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.