Description
ggblanket is an R package of wrapper functions around ggplot2 for publication-quality charts. Each gg_ function draws a ggplot and its geom layer in a single call, so a chart takes fewer lines of code. Aesthetic and facet variables are passed as bare names, and colour arguments inherit from the fill arguments unless you set them. Scale arguments can be changed with prefixed arguments, and when a lower axis limit is zero the package uses a default expansion of ggplot2's expansion(c(0, 0.5)). Arguments the wrapper does not cover pass through to the relevant geom function. A global set_blanket() function sets session-wide defaults, including the theme, the default fill, colour, linewidth, shape, linetype, size and stroke, their palettes, and how colour and fill are derived from each other. The package aims to stay close to ggplot2 and tidyverse conventions. It can be installed from CRAN or from the GitHub development version, and the README says it is part of a group of related packages that extend ggplot2. It suits R users who make charts for papers or reports and want a consistent look with less code.…
Highlights
- ggplot2 wrappers for publication-quality plots
- Plot and geom layer in one call
- Bare-name aesthetic and facet variables
- Global set_blanket() defaults
- Installs from CRAN or GitHub
Ratings & Reviews
No ratings yet
Be the first to rate Ggblanket.
People also visit
Ggblanket FAQ
What is ggblanket?
An R package of ggplot2 wrapper functions for publication-quality visualization.
How do I install it?
From CRAN, or the development version from GitHub.
What does set_blanket() do?
It sets session-wide defaults for the theme, fills, colours, shapes, line types, sizes and their palettes.
Does it work with ggplot2?
It aims to align with ggplot2 and tidyverse conventions, and arguments it does not cover pass through to the geom function.
Where is the source?
On GitHub at davidhodge931/ggblanket.
What are the best Ggblanket alternatives?
Popular alternatives to Ggblanket include See, Hrbrthemes and Esquisse. See all Ggblanket alternatives


