gginnards v0.0.2

0

Monthly downloads

0th

Percentile

Explore the Innards of 'ggplot2' Objects

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.

Readme

gginnards

cran version cran checks

Package 'gginnards' (Explore the innards of 'ggplot2') is a set of extensions to R package 'ggplot2' (>= 3.1.0) and tools useful when learning how to write extensions and when debugging newly defined stats and geoms.

Statistics and geometries that echo their data input to the R console and/or plot aim at easing debugging during development of new geoms and statistics (or learning how ggplot layers work).

A set of functions facilitates the manipulation of layers in ggplot objects, allowing deletion of any existing layer, insertion of new layers at any position, and reordering of the existing layers.

A function to drop unused variables from the data object embedded in gg and ggplot objects serves as an additional example of a manipulation that may be useful when dealing with very large datasets. Companion functions are defined to explore the embedded data.

This package was born when several functions were removed from package 'ggpmisc'. These functions are meant mainly to be used for debugging and learning how ggplot internals works while the balance of 'ggpmisc' are functions for everyday plotting.

Please, see the web site r4photobiology for details and update notices, and the docs site.

The current release of 'gginnards' is available through CRAN for R (>= 3.4.0).

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Functions in gginnards

Name Description
edit_layers Edit plot layer
GeomNull 'ggproto' objects
geom_debug Geom which prints input data to console.
stat_debug_panel Print to console data received by the compute panel function.
str Show the structure of a ggplot object.
geom_null A null geom or 'non-op' geom.
gginnards-package gginnards: Explore the Innards of 'ggplot2' Objects
delete_layers Layer manipulation.
drop_vars Explore and manipulate the embedded data.
stat_debug_group Print to console data received by the compute group function.
No Results!

Vignettes of gginnards

Name
user-guide-1.Rmd
user-guide-2.Rmd
No Results!

Last month downloads

Details

Type Package
Date 2019-02-23
License GPL (>= 2)
LazyData TRUE
LazyLoad TRUE
ByteCompile TRUE
URL https://www.r4photobiology.info, https://bitbucket.org/aphalo/gginnards
BugReports https://bitbucket.org/aphalo/gginnards/issues
Encoding UTF-8
RoxygenNote 6.1.1
VignetteBuilder knitr
NeedsCompilation no
Packaged 2019-03-24 22:31:46 UTC; aphalo
Repository CRAN
Date/Publication 2019-03-25 08:50:14 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/gginnards)](http://www.rdocumentation.org/packages/gginnards)