This package contains an implementation of the RecMap construction algorithm (MP2).
recmap
requires R 3.3 or later.
Released and tested versions of recmap
are available via the CRAN network, and can be installed using the R shell via
install.packages('recmap')
install the latest development version
install.packages('devtools')
library(devtools)
install_git('https://github.com/cpanse/recmap', build_vignettes = TRUE, quiet = FALSE)
library(recmap)
this image contains the latest build.
docker pull cpanse/recmap \
&& docker run -d -p 8791:8787 cpanse/recmap
connect to http://yourdockerhost:8791 using a web browser
The package ships with a package vignette (browseVignettes('recmap')
and a reference manual (just type ?recmap
on the R shell).
Both documents are also available on the package’s CRAN page.
A white paper containing more technical information and examples is available through arXiv:1606.00464.
# Requires to install suggested packages
# install.packages(c('colorspace', 'maps', 'noncensus', 'shiny'))
library(shiny)
recmap_state.x77 <- system.file("shiny-examples", "state.x77", package = "recmap")
shiny::runApp(recmap_state.x77, display.mode = "normal")
recmap_US.county <- system.file("shiny-examples", "US.county", package = "recmap")
shiny::runApp(recmap_US.county, display.mode = "normal")