ggblanket

Objective

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.

Installation

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'))

Example

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,
  )

How it works

Use the gg_*() wrapper functions to:

Use the global setup function, set_blanket(), to:

Other packages

This package is part of a group of related packages built to extend ggplot2.

ggblanket

ggrefine

ggscribe

ggwidth

blends

jumble