Skip to content

R package for creating hammock plots and parallel sets plots using the ggplot2 framework.

License

Notifications You must be signed in to change notification settings

heike/ggparallel

Repository files navigation

ggparallel

CRAN status CRAN RStudio mirror downloads Last-changedate codecov test coverage R-CMD-check

The R package ggparallel implements and combines different types of parallel coordinate plots for categorical data: hammock plots, parallel sets plots, and common angle plots, 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 with:

# install.packages("remotes")
remotes::install_github("heike/ggparallel")

Basic use case

library(ggparallel)
#> Loading required package: ggplot2
data(mtcars)

ggparallel(list("gear", "cyl"), data=mtcars)

ggparallel(list("gear", "cyl"), data=mtcars, method="hammock", ratio=0.25)

About

R package for creating hammock plots and parallel sets plots using the ggplot2 framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published