Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://heike.github.io/ggparallel/
R package for creating hammock plots and parallel sets plots using the ggplot2 framework.
https://heike.github.io/ggparallel/
Last synced: 3 days ago
JSON representation
R package for creating hammock plots and parallel sets plots using the ggplot2 framework.
- Host: GitHub
- URL: https://heike.github.io/ggparallel/
- Owner: heike
- License: other
- Created: 2012-07-02T20:39:58.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2024-03-09T20:10:27.000Z (8 months ago)
- Last Synced: 2024-11-10T00:33:03.744Z (6 days ago)
- Language: R
- Homepage: https://heike.github.io/ggparallel/
- Size: 13.5 MB
- Stars: 40
- Watchers: 3
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# ggparallel
[![CRAN status](https://www.r-pkg.org/badges/version/ggparallel)](https://CRAN.R-project.org/package=ggparallel)
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/last-month/ggparallel?color=blue)](https://r-pkg.org/pkg/ggparallel)
[![Last-changedate](https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-yellowgreen.svg)](https://github.com/heike/ggparallel/commits/main)
[![codecov test coverage](https://codecov.io/gh/heike/ggparallel/graph/badge.svg?token=zfeqffIjxY)](https://codecov.io/gh/heike/ggparallel)
[![R-CMD-check](https://github.com/heike/ggparallel/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/heike/ggparallel/actions/workflows/R-CMD-check.yaml)The R package `ggparallel` implements and combines different types of parallel coordinate plots for categorical data: [hammock plots](http://www.schonlau.net/publication/03jsm_hammockplot_old.pdf), [parallel sets plots](https://datavizcatalogue.com/methods/parallel_sets.html), and [common angle plots](https://ieeexplore.ieee.org/document/6634157), as well as common angle plots with a hammock-like adjustment for line widths.
## Installation
The package is available on CRAN:
```
install.packages("ggparallel")
```You can install the development version of ggparallel from [GitHub](https://github.com/) with:
```
# install.packages("remotes")
remotes::install_github("heike/ggparallel")
```## Basic use case
```{r}
library(ggparallel)
data(mtcars)ggparallel(list("gear", "cyl"), data=mtcars)
``````{r}
ggparallel(list("gear", "cyl"), data=mtcars, method="hammock", ratio=0.25)
```