Description Usage Arguments Value Note Author(s) Examples
View source: R/00_S3_Definitions.R
Converts longitudes of a GADM shapefile to a range of 0° - 360° using the modulo R function.
1 |
x |
Object gadm_sf or gadm_sp. |
Object gadm_sp
For gadm_sp maps, the transformation is done only when rendering a graph. The original data are not modified. For gadm_sf maps, the internal geometry is modified.
Jean Pierre Decorps <jp.decorps@epiconcept.fr>
1 2 3 4 5 | # library(GADMTools)
# MAP <- gadm_sf.loadCountries("FJI", level = 0)
# plotmap(MAP)
# MAP <- gadm_longTo360(MAP)
# plotmap(MAP)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.