Foreign ncov map
plot_foreign_map( ncov, country, key = c("confirmedCount", "suspectedCount", "curedCount", "deadCount"), bins = c(0, 10, 100, 500, 1000), legend_title = "Confirmed", legend_position = c("bottomright", "topright", "bottomleft", "topleft"), color = "Reds" )
ncov | ncov data |
---|---|
country | country name |
key | the feature to plot |
bins | a numberic vector to cut the value to format the value to |
legend_title | legend title |
legend_position | legend position |
color | color palette |