Skip to content

Joker is a toy package to provide colors based on the Joker characters.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

ahmedmoustafa/joker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Joker

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:

Joaquin Phoenix in Joker 2019

Joaquin Phoenix

Heath Ledger in The Dark Knight 2008

Joaquin Phoenix

Installation

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

# install.packages("devtools")
devtools::install_github("ahmedmoustafa/joker")

Example

A 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("phoneix")) +
  ggtitle("Barplot with the Joker phoneix colors")

A barplot with the joker ledger 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")

About

Joker is a toy package to provide colors based on the Joker characters.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages