ggblanket

CRAN status CRAN RStudio mirror downloads CRAN RStudio mirror downloads CRAN RStudio mirror downloads CRAN RStudio mirror downloads

Overview

ggblanket is a package of wrapper functions around the fantastic ggplot2 package.

The primary objective is to simplify ggplot2 visualisation.

Secondary objectives relate to:

It is intended to be useful for all levels of experience from beginner to expert.

Website

Click here to get started learning how ggblanket works.

Installation

install.packages("ggblanket")

Examples

library(ggblanket)
library(dplyr)
library(stringr)
library(palmerpenguins)

iris |>
  mutate(Species = str_to_sentence(Species)) |> 
  gg_point(
    x = Sepal.Width,
    y = Sepal.Length,
    col = Species)



penguins |>
  mutate(sex = str_to_sentence(sex)) |> 
  gg_histogram(
    x = flipper_length_mm,
    col = sex,
    facet = species,
    pal = c("#1B9E77", "#9E361B"))

Thanks!

Thank you Hadley Wickham and all other authors of the ggplot2 package.

If you like ggblanket, please give the repository a star, tweet or blog about it, or tell a friend or colleague.