Learn R Programming


ggpolypath

A ggplot2 geom for polygons with holes, called ‘geom_polypath’.

PLEASE NOTE: ggpolypath predates full support for polygonal path geoemtry in ggplot2, we advise use of the ggplot2 package directly rather than this package, please see https://www.tidyverse.org/blog/2019/06/ggplot2-3-2-0/.

Install

Install from CRAN.

install.packages("ggpolypath")

Install the development version.

## install from Github
devtools::install_github("mdsumner/ggpolypath")

Example

See the vignette for examples.

vignette("ggpolypath")

Gory details

More examples, and more detail than you probably need can be found here:

https://github.com/hypertidy/polyggon/blob/master/README.md

Copy Link

Version

Install

install.packages('ggpolypath')

Monthly Downloads

787

Version

0.3.0

License

GPL-3

Last Published

September 25th, 2023

Functions in ggpolypath (0.3.0)

geom_polypath

Geom polypath, a polygon filled path that can include holes.
gardenstate

Province polygons with inland waters as holes.
dathome

Simple polygon data
ggpolypath-package

ggpolypath: Polygons with Holes for the Grammar of Graphics