Learn R Programming

recmap (version 1.0.17)

Compute the Rectangular Statistical Cartogram

Description

Implements the RecMap MP2 construction heuristic . This algorithm draws maps according to a given statistical value, e.g., election results, population, or epidemiological data. The basic idea of the RecMap algorithm is that each map region, e.g., different countries, is represented by a rectangle. The area of each rectangle represents the statistical value given as input (maintain zero cartographic error). C++ is used to implement the computationally intensive tasks. The vignette included in this package provides documentation about the usage of the recmap algorithm.

Copy Link

Version

Install

install.packages('recmap')

Monthly Downloads

292

Version

1.0.17

License

GPL-3

Maintainer

Christian Panse

Last Published

September 23rd, 2023

Functions in recmap (1.0.17)

.draw_recmap_us_state_ev

this function reproduces the original election cartogram from 2004 using the cartogram output from the 2003 implementation.
recmapGA

Genetic Algorithm Wrapper Function for recmap
recmapGRASP

Greedy Randomized Adaptive Search Procedure Wrapper Function for recmap
summary.recmap

Summary for recmap object
as.recmap.SpatialPolygonsDataFrame

Convert a SpatialPolygonsDataFrame Object to recmap Object
jss2711

jss2711 data
plot.recmap

Plot a recmap object.
.get_7triangles

construct polygon mesh displayed in Figure 4a in
is.recmap

Is an Object from a Class recmap?
recmap

Compute a Rectangular Statistical Cartogram
checkerboard

Create a Checkboard
as.SpatialPolygonsDataFrame.recmap

Convert a recmap Object to SpatialPolygonsDataFrame Object.