README.md

shiftie hex

Shiftie - internal package for 7shifts data

Installation

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

# install.packages("devtools")
devtools::install_github("emhedlin/shiftie")

Example

The package is composed of utility functions related to plotting (7shifts colours, etc.), database connections, and a few other miscellanious tools related to daily work.

library(ggplot2)
library(shiftie)

ggplot() +
geom_point(aes(rnorm(500, 0, 1), rnorm(500, 0, 1)), colour = tangerine3) +
geom_point(aes(rnorm(500, 0, 3), rnorm(500, 0, 3)), colour = tangerine5) +
geom_point(aes(rnorm(500, 0, 5), rnorm(500, 0, 5)), colour = tangerine7) +
xlab("") + ylab("") +
seven_theme()



emhedlin/shiftie documentation built on Feb. 5, 2022, 10:43 p.m.