christopherkenny / luigg

Mario Themed 'ggplot2' Extensions

Home Page:http://christophertkenny.com/luigg/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

luigg

R-CMD-check

luigg is to provide some silly, Mario-themed ggplot extensions.

Installation

You can install the development version of luigg from GitHub with:

# install.packages("devtools")
devtools::install_github("christopherkenny/luigg")

Example

This is a basic example which shows you how to solve a common problem:

library(luigg)
## basic example code

Imagine you need a warp pipe bar graph. Look no further.

set.seed(1)
data.frame(x = as.character(1:4), n = 100 * runif(n = 4, 0, .5)) |>
ggplot2::ggplot(ggplot2::aes(x = x, y = n, fill = x)) +
 geom_pipe() +
 scale_fill_luigg(palette = 'warp_pipe') +
 ggplot2::theme_void()

About

Mario Themed 'ggplot2' Extensions

http://christophertkenny.com/luigg/

License:Other


Languages

Language:R 100.0%