/ggwaterfall

R package with functions for drawing density and frequency trail waterfall plots

Primary LanguageROtherNOASSERTION

ggwaterfall

ggwaterfall provides functions for drawing waterfall plots. Includes density and frequency trails waterfall plots.

Installation

You can install the latest version of ggwaterfall from GitHub with:

install.packages("devtools")
library(devtools)
install_github("AndreyAkinshin/ggwaterfall")

Example

Here are some ggwaterfall usage examples:

library(ggwaterfall)
waterfall_density(rdistrs(5), title = "Waterfall Density Plot")

waterfall_ft(rdistrs(10), rainbow(7), title = "Waterfall Frequency Trail Plot")

waterfall_density(rdistrs(20), style.pulsar = TRUE)

waterfall_density(rdistrs(20), metric = "mean", sort.value = "metric",
                  show.labels = TRUE)