gginnards (version 0.0.1)

gginnards-package: gginnards: Explore the Innards of 'ggplot2' Objects

Description

Extensions to 'ggplot2' providing low-level debug tools: statistics and geometries reporting data passed to compute_group() and compute_panel() functions and to geometries. Layer manipulation: functions for deletion, insertion, extraction and reordering of layers of "ggplot" objects. Data manipulation: function for deletion of unused variables from the data object embedded in "ggplot" objects.

Arguments

Details

The new facilities for cleanly defining new stats and geoms added to package 'ggplot2' in version 2.0.0 gave origin to this package. I needed tools to help me learn how layers work and to debug the extenssions to 'ggplot2' that I was developing. I share them through this package in the hope that they will help other users of 'ggplot2' understand how this this vry popular graphics package works internally.

Extensions provided:

  • "Debug" stats and a "debug" geom that print to the console a summary of their data input.

  • Functions for inspecting and manipulating the list of layers of a ggplot object.

  • Function that drops unused variables from the data embedded in ggplot objects.

References

Package 'ggplot2' web site at http://ggplot2.org/ Package 'ggplot2' documentation at http://docs.ggplot2.org/ Package 'ggplot2' source code at https://github.com/hadley/ggplot2

See Also

Useful links: