I want to create a cartogram of a demographic indicator:
- I load the map from GADM
- connect
- add data from CSV
When rendering maps by subject, everything is drawn. When rendering indicators, regions disappear, although there are definitely data for these regions.
rusmap <-readRDS("RUS_adm1.rds") rusmap@data <- merge(rusmap@data, mortality, by.x=c("NAME_1"), by.y=c("X")) spplot(rusmap, "X2014", col.regions = plotcol, col = "transparent", at = brks.eq$brks, # задает границы классов par.settings = list(axis.line = list(col = NA))) It does not give any errors.