Cartogram in R not distorting countries as expected
问题 I'm using the cartogram package in R to make a world map of living languages. The country map is from Natural Earth, and the language count from the Ethnologue. w <- readOGR('.','ne_110m_admin_0_map_units') L <- read.csv('languages.csv',sep='\t') w$rank <- 1:nrow(w) wl <- merge(w@data,L,by.x='ISO_A3',by.y='iso3',all.x=T) wl <- wl[order(wl$rank),] wl[is.na(wl$Live),'Live'] <- 1 w@data <- wl w2 <- cartogram_cont(w,'Live',prepare='none') plot(w2) The data I'm using has 111 living languages in