저는 R을 사용 중이며 GISTools
을 사용하여 choropleth 맵을 만들려고합니다. 내 코드는 같은 수 있습니다 :회색 경계가있는 Choropleth지도
choropleth(us_state, us_state$smallbiz1998, shades)
plot(us_interstate, add = TRUE)
us_state
미국 국가의지도이며, us_interstate
은 주간 고속도로의지도입니다.
미국의 경계가 회색으로 나타나기를 바랍니다. 어떻게해야합니까?
choropleth 설명서에서 Additional parameters to be passed on to the plot method for sp.
을 지정할 수 있음을 나타냅니다. 그러나 choropleth(us_state, us_state$smallbiz1998, shades, col = "gray")
을 시도하면 오류가 발생합니다.
(주간 고속도로를 회색으로 변경하는 경우 두 번째 줄을 plot(us_interstate, add = TRUE, col = "gray")
으로 변경하기 만하면됩니다.)