powered by
Strip a gadm_sp object (with property 'stripped' == FALSE) and return a stripped gadm_sp object (with property 'stripped' == TRUE)
stripSP(x, level=NULL)
Object gadm_sp with property 'stripped' == FALSE
Int admin level to be stripped/extracted. If NULL, the current level is selected
Object gadm_sp with property 'stripped' == TRUE
----
# NOT RUN { # library(GADMTools) # library(sp) # BE <- gadm_loadCountries('BEL', level=2) # Belgique <- stripSP(BE, level=2) # }
Run the code above in your browser using DataLab