Scale Bar, North Arrow, and Pretty Margins in R

Automates the process of creating a scale bar and north arrow in any package that uses base graphics to plot in R. Bounding box tools help find and manipulate extents. Finally, there is a function to automate the process of setting margins, plotting the map, scale bar, and north arrow, and resetting graphic parameters upon completion.


Prettymapr: Tools for rapid, nice-looking maps in R

Prettymapr automates the process of creating a scale bar and north arrow in any package that uses base graphics to plot in R, or provides parameters that help to draw scale bars and north arrows in other plotting environments. Bounding box tools help find and manipulate extents, and geocoding tools help plot locations on maps. Finally, there is a function to automate the process of setting margins, plotting the map, scale bar, and north arrow, and resetting graphic parameters upon completion.

Installation

The prettymapr package is available on CRAN, and can be installed using install.packages("prettymapr").

Future deprecation

The prettymapr package was written several years ago and better tools to make publication-quality maps in R have been made available since its release. The prettymapr package should be considered deprecated and is in bugfix-only mode for the foreseeable future.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("prettymapr")

0.2.5 by Dewey Dunnington, 3 years ago


https://github.com/paleolimbot/prettymapr


Report a bug at https://github.com/paleolimbot/prettymapr/issues


Browse source code at https://github.com/cran/prettymapr


Authors: Dewey Dunnington <[email protected]>


Documentation:   PDF Manual  


GPL-2 license


Imports digest, rjson, httr, plyr

Suggests raster, rosm, sp


Imported by SWTools.

Suggested by bioRad, ggspatial, move2, openairmaps, transittraj.


See at CRAN