README.md

ggshuffle

ggshuffle is a RStudio-Addin that uses the rstudioapi package and provides a GUI to give a visual tool to determine if your ggplot2 charts appearance if affected by the order in which your points/lines are being plotted.

Installation

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("EmilHvitfeldt/ggshuffle")

Example

ggshuffle can be used by highlighting some ggplot2 code and clicking the ggshuffle button in the Addins tab or by passing a ggplot2 object to the ggshuffle() function.

library(ggplot2)
## basic example code

ggg <- ggplot(na.omit(txhousing), aes(volume, median, color = year)) +
  geom_point()

ggshuffle(ggg)

Screenshot



EmilHvitfeldt/ggshuffle documentation built on May 12, 2019, 12:21 a.m.