Learn R Programming

ggblanket

Overview

ggblanket is a package of ggplot2 wrapper functions.

The primary objective is to simplify ggplot2 visualisation.

Secondary objectives relate to:

  • Design: produce well-designed visualisation
  • Alignment: align with ggplot2 and tidyverse
  • Scope: cover much of what ggplot2 does.

Computational speed has been traded-off.

Installation

install.packages("ggblanket")

Example

library(ggblanket)
library(palmerpenguins)

set_blanket()

penguins |>
  gg_histogram(
    x = flipper_length_mm,
    col = species,
  )

Get started

Click here to start learning how ggblanket works.

Thank you

Thanks to the developers of ggplot2, tidyverse and the R ecosystem.

For Dad, always missed (Peter Hodge, 1953-2023).

Copy Link

Version

Install

install.packages('ggblanket')

Monthly Downloads

741

Version

11.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

December 17th, 2024

Functions in ggblanket (11.1.0)

gg_bin_2d

Bin_2d ggplot
gg_boxplot

Boxplot ggplot
gg_col

Col ggplot
gg_contour_filled

Contour_filled ggplot
gg_density_2d_filled

Density_2d_filled ggplot
gg_contour

Contour ggplot
gg_blanket

Blanket ggplot
gg_crossbar

Crossbar ggplot
gg_density

Density ggplot
gg_density_2d

Density_2d ggplot
gg_path

Path ggplot
gg_freqpoly

Freqpoly ggplot
gg_line

Line ggplot
gg_hex

Hex ggplot
gg_jitter

Jitter ggplot
gg_function

Function ggplot
gg_histogram

Histogram ggplot
gg_errorbar

Errorbar ggplot
gg_linerange

Linerange ggplot
gg_label

Label ggplot
gg_rect

Rect ggplot
gg_ribbon

Ribbon ggplot
gg_rug

Rug ggplot
gg_ribbon_line

Ribbon line ggplot
gg_qq

Qq ggplot
gg_polygon

Polygon ggplot
gg_raster

Raster ggplot
gg_quantile

Quantile ggplot
gg_point

Point ggplot
gg_pointrange

Pointrange ggplot
ggblanket-package

ggblanket: Simplify 'ggplot2' Visualisation
gg_violin

Violin ggplot
gg_smooth

Smooth ggplot
gg_text

Text ggplot
jumble

The jumble palette
grey

A grey colour
gg_sf

Sf ggplot
gg_segment

Segment ggplot
gg_tile

Tile ggplot
weave_mode

Set a mode
weave_geom_defaults

Set a series of geom defaults
gg_step

Step ggplot
mode_orientation_to_x

Orientate a mode used outside of a gg_* context
lightness

Mode colour and linewidth defaults
weave_theme

Set a theme to apply without side-effects
label_every_nth

Label every nth element
light_mode_r

Light mode theme family
set_blanket

Set the style
weave_col_palettes

Set a discrete colour and fill palettes
scale_x_symmetric

Symmetric x continuous scale
scale_y_symmetric

Symmetric y continuous scale
blue

A blue colour
annotate_axis_line

Replace a axis line with an annotated segment
gg_bar

Bar ggplot
dark_mode_r

Dark mode theme family
gg_area

Area ggplot
aes_colour_contrast

A colour aesthetic for contrast
flex_mode_r

Flexible mode with right legend
flex_mode_b

Flexible mode with bottom legend
flex_mode_t

Flexible mode with top legend
flex_mode_base

Mode theme base