Rcartogram_0.2-2.tar.gzThis is an interface to Mark Newmans cartogram code, and the technique of Newman and Gastner. This is used to produce spatial plots where the boundaries of regions can be transformed to be proportional to density/counts/populations. This is illustrated in plots such as
The technique is described in a paper.
This is currently a basic (and quickly implemented) interface to the cartogram code. It does not do much to make this more user-friendly for R users other than allowing one to call the functionality in the C code and creating matrices, etc. out of the results, providing a prediction method for mapping points on the grid onto the resulting cartogram. There are other things we can do with this. The current version doesn't even produce a plot! So plenty for people to add and contribute.
The code is in the demo/ directory of the package and can be
demo(synthetic, package = "Rcartogram").
Alternatively, you can look at the code here and change
the settings, e.g. the size of the grid, whether to use
a circular region in the middle, the densities of the different