knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
ggwaterfall
provides functions for drawing waterfall plots.
Includes
density and
frequency trails
waterfall plots.
You can install the latest version of ggwaterfall from GitHub with:
install.packages("devtools") library(devtools) install_github("AndreyAkinshin/ggwaterfall")
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.