leafepp | R Documentation |
template of leaflet map for eppexist or eppproy outputs
leafepp(x, t, crs, leng = "es", ...)
x |
List obtained from eppexist or eppproy |
t |
Character "exist" or "proy" depending of input structure |
crs |
Coordinate Reference Systems (CRS). |
leng |
Lenguage of labels. Available english ("en" ) and spanish ("es"). Default "es" |
... |
leaflet options and parameters |
leaflet
## In case of eppexist exist <- eppexist(pop = pop_epp, centers = centers_epp, crs = sp::CRS("+init=epsg:32721")) l_epp_exist <- leafepp(exist, t = "exist", crs = sp::CRS("+init=epsg:32721")) ## In case of eppproy proy <- eppproy(pop = exist$pop_uncover) l_epp_proy <- leafepp(proy, t = "proy", crs = sp::CRS("+init=epsg:32721"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.