ggblanket is a package of ggplot2 wrapper functions for publication-quality visualisation. It seeks to support well-designed visualisation, while aligning as much as possible with ggplot2 and tidyverse conventions.
Install from CRAN, or development version from GitHub.
install.packages("ggblanket")
# pak::pak("davidhodge931/ggblanket")
install.packages("ggblanket", repos = c('https://davidhodge931.r-universe.dev', 'https://cloud.r-project.org'))
library(ggblanket)
library(ggplot2)
library(dplyr)
set_blanket()
iris |>
gg_point(
x = Sepal.Width,
y = Sepal.Length,
fill = Species,
shape = Species,
)

ggplot2::economics_long |>
gg_area(
x = date,
y = value01,
facet = variable,
)

Use the gg_*() wrapper functions to:
colour and colour_* arguments inherited from fill and
fill_* argumentsggplot2::expansion(c(0, 0.5))
geom_* function via ...
set_blanket() setting defaults.Use the global setup function, set_blanket(), to:
fill, colour, linewidth, shape,
linetype, size, stroke
fill_palette, colour_palette,
shape_palette and linetype_palette
colour_border, which is a function to
transform the colour and colour_palette with input of the fill
and fill_palette respectivelyfill_border, which is a function to
transform the fill and fill_palette with input of the colour and
colour_palette respectivelyThis package is part of a group of related packages built to extend ggplot2.