stripSP: Strip a gadm_sp object

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/33_stripSP.R

Description

Strip a gadm_sp object (with property 'stripped' == FALSE) and return a stripped gadm_sp object (with property 'stripped' == TRUE)

Usage

1
stripSP(x, level=NULL)

Arguments

x

Object gadm_sp with property 'stripped' == FALSE

level

Int admin level to be stripped/extracted. If NULL, the current level is selected

Value

Object gadm_sp with property 'stripped' == TRUE

Note

—-

Author(s)

Jean Pierre Decorps <jp.decorps@epiconcept.fr>

References

—-

See Also

—-

Examples

1
2
3
4
# library(GADMTools)
# library(sp)
# BE <- gadm_loadCountries('BEL', level=2)
# Belgique <- stripSP(BE, level=2)

GADMTools documentation built on Aug. 5, 2021, 1:06 a.m.