This package is based on Cianna Bedford-Petersen’s package inauguration
joker
is a toy R package to provide a color palette based on the Joker
character played by:
You can install the development version of joker from GitHub with:
# install.packages("devtools")
devtools::install_github("ahmedmoustafa/joker")
library(joker)
library(ggplot2)
x = c("A", "B", "C", "D", "E")
y = c(50, 40, 30, 20, 10)
ggplot() +
geom_bar(aes(x = x, y = y, fill = x), stat = "identity") +
scale_fill_manual(values = joker("phoneix")) +
ggtitle("Barplot with the Joker phoneix colors")
library(joker)
library(ggplot2)
x = c("A", "B", "C", "D", "E")
y = c(50, 40, 30, 20, 10)
ggplot() +
geom_bar(aes(x = x, y = y, fill = x), stat = "identity") +
scale_fill_manual(values = joker("ledger")) +
ggtitle("Barplot with the Joker ledger colors")