• Stars
    star
    131
  • Rank 275,867 (Top 6 %)
  • Language
    R
  • License
    Other
  • Created over 2 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simplify ggplot2 visualisation

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 ggplot2 wrapper functions.

The primary objective is to simplify ggplot2 visualisation.

Secondary objectives relate to:

  • Design: produce well-designed visualisation by default
  • Scope: cover the most useful 80% of what ggplot2 does
  • Alignment: use conventions generally aligned with ggplot2.

Installation

install.packages("ggblanket")

Example

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

penguins |>
  tidyr::drop_na(sex) |> 
  mutate(sex = stringr::str_to_sentence(sex)) |>
  gg_histogram(
    x = flipper_length_mm,
    col = sex,
    facet = species)

Get started

Click here to start learning how ggblanket works.

Thanks!

Thank you to all authors of ggplot2, tidyverse, and the wider R ecosystem.

If you like ggblanket, please give the repository a star.