All Projects → cpanse → recmap

cpanse / recmap

Licence: GPL-3.0 License
Draw your own Rectangular Statistical Cartogram - CRAN package

Programming Languages

C++
36643 projects - #6 most used programming language
r
7636 projects

Projects that are alternatives of or similar to recmap

rsgislib
Remote Sensing and GIS Software Library; python module tools for processing spatial data.
Stars: ✭ 103 (+472.22%)
Mutual labels:  spatial, spatial-data-analysis
st-hadoop
ST-Hadoop is an open-source MapReduce extension of Hadoop designed specially to analyze your spatio-temporal data efficiently
Stars: ✭ 17 (-5.56%)
Mutual labels:  spatial, spatial-data-analysis
evoli
Genetic Algorithm and Particle Swarm Optimization
Stars: ✭ 22 (+22.22%)
Mutual labels:  genetic-algorithm
NLMR
📦 R package to simulate neutral landscape models 🏔
Stars: ✭ 57 (+216.67%)
Mutual labels:  spatial
Spatial pre2021
This repo has been archived. The latest version of the GIS and Spatial Analysis online book is at https://github.com/mgimond/Spatial
Stars: ✭ 88 (+388.89%)
Mutual labels:  spatial
GeneticsJS
Evolutionary algorithms library for the web 🧬
Stars: ✭ 25 (+38.89%)
Mutual labels:  genetic-algorithm
shorelark
Simulation of life & evolution
Stars: ✭ 109 (+505.56%)
Mutual labels:  genetic-algorithm
impact-tools
Simple blueprints for change-makers
Stars: ✭ 34 (+88.89%)
Mutual labels:  spatial
tiny gp
Tiny Genetic Programming in Python
Stars: ✭ 58 (+222.22%)
Mutual labels:  genetic-algorithm
tetris-ai
A Tetris AI written in JavaScript that uses a genetic algorithm
Stars: ✭ 22 (+22.22%)
Mutual labels:  genetic-algorithm
pixelscan
A Python library that provides functions to scan pixels on a grid in a variety of spatial patterns.
Stars: ✭ 23 (+27.78%)
Mutual labels:  spatial
ai-n-queens
Solving and GUI demonstration of traditional N-Queens Problem using Hill Climbing, Simulated Annealing, Local Beam Search, and Genetic Algorithm.
Stars: ✭ 30 (+66.67%)
Mutual labels:  genetic-algorithm
wdpar
Interface to the World Database on Protected Areas
Stars: ✭ 27 (+50%)
Mutual labels:  spatial
GeneticAlgorithmForFeatureSelection
Search the best feature subset for you classification mode
Stars: ✭ 82 (+355.56%)
Mutual labels:  genetic-algorithm
Flow-Shop-Scheduling
Genetic Algorithm for Flow Shop Scheduling
Stars: ✭ 19 (+5.56%)
Mutual labels:  genetic-algorithm
scanstatistics
An R package for space-time anomaly detection using scan statistics.
Stars: ✭ 41 (+127.78%)
Mutual labels:  spatial
Job-Shop-Scheduling-Genetic-Algorithm
Job Shop Scheduling Solver using Genetic Algorithyms
Stars: ✭ 48 (+166.67%)
Mutual labels:  genetic-algorithm
cytoscape.js-context-menus
A Cytoscape.js extension to provide context menu around elements and core instance
Stars: ✭ 63 (+250%)
Mutual labels:  graph-drawing
bio ik
MoveIt kinematics_base plugin based on particle optimization & GA
Stars: ✭ 104 (+477.78%)
Mutual labels:  genetic-algorithm
async-genetic
A blazing fast parameters optimiser by genetic algorithm
Stars: ✭ 18 (+0%)
Mutual labels:  genetic-algorithm

CRAN_Status_Badge Research software impact Build Status JSS

recmap - Compute the Rectangular Statistical Cartogram

This package implements the RecMap construction algorithm (MP2) using the GA CRAN package as metaheuristic.

rectangular population cartogram construction demo - animated gif

1. Installation

use CRAN

recmap requires R 3.6 or later.

Released and tested versions of recmap are available via CRAN, and can be installed using the following code

install.packages('recmap')

before running R CMD build and R CMD check or running the shiny demo execute

pkgs <- c('colorspace', 'doParallel', 'DT', 'knitr', 'maps',
  'shiny', 'testthat', 'tufte')
pkgs <- pkgs[(!pkgs %in% unique(installed.packages()[,'Package']))]
if(length(pkgs) > 0){install.packages(pkgs)}

2. Documentation

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 jss.v086.c01.

3. Demonstration

Run an interactive shiny application

library(shiny)
recmap_shiny <- system.file('shiny-examples', package = 'recmap')
shiny::runApp(recmap_shiny, display.mode = 'normal')

Run the recmap shiny demonstration as a stand-alone application using Linux and macOS systems use the Terminal application add the following code to your alias file, e.g., $HOME/.bashrc

alias recmapShiny="R -e \"library(shiny); \
  recmap_shiny <- system.file('shiny-examples', package = 'recmap'); \
  shiny::runApp(recmap_shiny, display.mode = 'normal', launch.browser=TRUE)\""

execute

. $HOME/.bashrc && recmapShiny

4. (Frequently) Asked Questions

4.1 Is there an easy way to convert a recmap object to an sf object?

Use as.SpatialPolygonsDataFrame, see also issue #13. The as.recmap function performs the transformation from a SpatialPolygonsDataFrame into a recmap compatible object.

5. Related approaches

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].