Description Usage Arguments Value Author(s) See Also Examples
Removes the backround previously loaded with gadm_getBackground. Original .tif file is not deleted.
1 2 3 | gadm_removeBackground(x)
gadm.removeBackground(x) # deprecated
|
x |
Object gadm_sp or gadm_sf of the region that you want to remove the background. |
Object gadm_sp or gadm_sf
Jean Pierre Decorps <jp.decorps@epiconcept.fr>
1 2 3 4 5 6 7 | # library(GADMTools)
# Loads France @ level 2 (departements)
# FRA <- gadm_sf.loadCountries("FRA", level = 2, basefile = "DATA/")
# FRA <- gadm_getBackground(FRA, name = "FRABGND", clip = FALSE)
# plotmap(FRA)
# FRA <- gadm_removeBackground(FRA)
# plotmap(FRA)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.