Package: cartogramR 1.2-0

Pierre-Andre Cornillon

cartogramR: Continuous Cartogram

Procedures for making continuous cartogram. Procedures available are: flow based cartogram (Gastner & Newman (2004) <doi:10.1073/pnas.0400280101>), fast flow based cartogram (Gastner, Seguy & More (2018) <doi:10.1073/pnas.1712674115>), rubber band based cartogram (Dougenik et al. (1985) <doi:10.1111/j.0033-0124.1985.00075.x>).

Authors:Pierre-Andre Cornillon [aut, cre], Florent Demoraes [aut], Flow-Based-Cartograms [cph]

cartogramR_1.2-0.tar.gz
cartogramR_1.2-0.tar.gz(r-4.5-noble)cartogramR_1.2-0.tar.gz(r-4.4-noble)
cartogramR_1.2-0.tgz(r-4.4-emscripten)cartogramR_1.2-0.tgz(r-4.3-emscripten)
cartogramR.pdf |cartogramR.html
cartogramR/json (API)

# Install 'cartogramR' in R:
install.packages('cartogramR', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • fftw3– Library for computing Fast Fourier Transforms
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • france_dept - Map of the population of mainland France
  • france_rivers - Map of french rivers of mainland France
  • usa - Map of the number of electors in each state of the USA

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

fftw3openmp

2.10 score 1 packages 14 scripts 400 downloads 14 exports 15 dependencies

Last updated 4 months agofrom:b8f26a8b72. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 03 2024
R-4.5-linux-x86_64OKDec 03 2024

Exports:as.sfas.sfcas.sfmultipolygoncartogramRcartogramR_optionscheck_ring_dirdist_between_verticesfrom_coord_polygongeom_cartogramRgrid_analysismake_layerprecartogramRto_coord_polygonwarp_features

Dependencies:classclassIntcleancalldata.tableDBIe1071KernSmoothmagrittrMASSproxyRcpps2sfunitswk

Readme and manuals

Help Manual

Help pageTopics
Coerce an object to a sf objectas.sf
Coerce a cartogramR to a sf objectas.sf.cartogramR
Coerce an object to a sfc objectas.sfc
Coerce a cartogramR to a sfc objectas.sfc.cartogramR
Transform a sf object with several rows (polygons) by region to an sf object with one row by region and thus one multipolygon by regionas.sfmultipolygon
Make a continuous cartogram (density equalizing maps)cartogramR
Set the options of cartogramR in the correct formatcartogramR_options
Polygon rings directions are checked and corrected if asked.check_ring_dir
Analyse some of the grid optionsdist_between_vertices
Map of the population of mainland France (year 2018)france_dept
Map of french rivers of mainland Francefrance_rivers
Transform from coordinates system used in the polygons to coordinates system used in flow based cartogramfrom_coord_polygon
Analyse some of the grid optionsgrid_analysis
Make a layermake_layer
Plot a cartogram objectplot.cartogramR
Plot a dbv.cartogram objectplot.dbv.cartogramR
Plot a gridanalysis.cartogram objectplot.gridanalysis.cartogramR
Make a pre cartogram analysisprecartogramR
Print a cartogram objectprint.cartogramR
Print a summary of a cartogram objectprint.summary.cartogramR
Errors of a cartogram objectresiduals.cartogramR
Summary of a cartogram objectsummary.cartogramR
Summary of a dbv.cartogram objectsummary.dbv.cartogramR
Summary of a gridanalysis.cartogram objectsummary.gridanalysis.cartogramR
Transform from coordinates system used in flow based cartogram to coordinates system used in the polygonsto_coord_polygon
Map of the number of electors in each state of the USAusa
Apply the deformation used to build a cartogram to a set of simple geometry coordinateswarp_features