SHARE
TWEET

Untitled

a guest Aug 21st, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. library(tmap)
  2. data(NLD_muni)
  3.  
  4. NLD_muni$perc_men <- NLD_muni$pop_men / NLD_muni$population * 100
  5.  
  6. tm_shape(NLD_muni) +
  7.   tm_polygons("perc_men", palette = "RdYlBu") +
  8.   tm_facets(by = "province")
  9.      
  10. data(package="tmap")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top