Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
想在世界上的河流(和湖泊?)的 R 中创建一个情节,它们是唯一的线条。即它应该只是河流,陆地和海洋都是一种颜色(白色),而河流(和湖泊)是另一种颜色。有小费吗?Rworldmap 或 ggplot 要走的路吗?
好吧,那可能只是:
require(mapdata) map('world', interior=F,col="darkgray") map('rivers', add=TRUE, col="blue")
或仅适用于河流:
map('world', interior=F,col="white") map('rivers', add=TRUE, col="blue")