View source: R/defineGATmapclasses.R
defineGATmapclasses | R Documentation |
This function prepares the classes for the original and aggregated maps so that the same scale can be used for both.
defineGATmapclasses(areaold, areanew, aggvar, breaks = 7)
areaold |
A spatial polygons data frame. |
areanew |
A second spatial polygons data frame that ahould have the same outer boundary as the first one. |
aggvar |
The variable to be mapped. |
breaks |
The number of desired categories in the maps. |
# prepare the classes for the choropleth maps
defineGATmapclasses(
areaold = hftown,
areanew = hfagg610k,
aggvar = "TOTAL_POP",
breaks = 4
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.