Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://mdsumner.github.io/ggpolypath/
Polygons with holes for ggplot2
https://mdsumner.github.io/ggpolypath/
Last synced: 3 days ago
JSON representation
Polygons with holes for ggplot2
- Host: GitHub
- URL: https://mdsumner.github.io/ggpolypath/
- Owner: mdsumner
- Created: 2016-08-04T14:53:29.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2023-09-25T06:53:27.000Z (about 1 year ago)
- Last Synced: 2024-11-07T13:52:31.064Z (9 days ago)
- Language: HTML
- Homepage: https://mdsumner.github.io/ggpolypath/
- Size: 4.56 MB
- Stars: 17
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
output:
md_document:
variant: markdown_github
------
[![R-CMD-check](https://github.com/mdsumner/ggpolypath/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/mdsumner/ggpolypath/actions/workflows/R-CMD-check.yaml)
[![CRAN status](https://www.r-pkg.org/badges/version/ggpolypath)](https://CRAN.R-project.org/package=ggpolypath)```{r, echo = FALSE, message = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "figure/README-"
)
```## 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.
```{r,eval=FALSE}
install.packages("ggpolypath")
```Install the development version.
```{r,eval=FALSE}
## install from Github
devtools::install_github("mdsumner/ggpolypath")
```## Example
See the vignette for examples.
```{r,eval=FALSE}
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