The gcubed package

How do I install the package?

You can install the gcubed package by running the following commands.

library(devtools)
install_github("thisisdaryn/gcubed")

If you don’t have the devtools package installed, you can do so by running:

install.packages("devtools")

What’s in the package?

The package contains data sets used for plots in the gallery of examples.

I strive to maintain the data in a form that does not require too much manipulation prior to plotting. However there are instances in which I have found it appropriate to include some data manipulation steps for the purpose of accurately representing the practical workflow of using ggplot2 e.g. I often have to convert variables to factors with orders of my setting to get elements in the graph to be displayed in the right order or the shape of the data used by ggplot2 may unlikely to be a shape that the data is kept in on an ongoing basis.

I have compiled these data sets from several sources. Presently the data in the sets are collectively sourced from: