Skip to content

rrunner/nish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nish

Overview

nish provides discrete and continuous scales and different themes to be used with ggplot2

Installation

Install the development version from GitHub.

# install.packages("devtools")
devtools::install_github("rrunner/nish")

Usage

library(ggplot2)
library(nish)

ggplot(economics_long, aes(date, value01, colour = variable)) +
  geom_line(size = 0.8) +
  labs(x = NULL, y = NULL, colour = NULL) +
  scale_colour_nish_blue() +
  theme_nish_blue()

ggplot(faithfuld, aes(waiting, eruptions)) +
  geom_raster(aes(fill = density)) +
  scale_fill_gradientn_nish()

ggplot(data = mtcars) +
  geom_bar(aes(x = factor(gear), fill = factor(carb))) +
  labs(x = "gear", fill = "carb") +
  scale_fill_nish_pink() +
  theme_nish_white()

Getting help and report issues

If you encounter a clear bug, please file an issue with a minimal reproducible example on GitHub.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages