Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 853 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 853 Bytes

README

Rishabh Kumar 30/05/2020

dectechViz

An R package to to make your graphs prettier quickly. This is still a work in progress so bear with me. Here is the standard version to make your graphs using ggplot2.

library(ggplot2)
p1 <- ggplot(diamonds, aes(price, cut)) + geom_bar(stat = "summary", fun.x = "mean" )
p1

remotes::install_github("rishkum/dectechViz")
library(dectechViz)
p2 <- ggplot(diamonds, aes(price, cut)) + geom_bar(stat = "summary" , fill = dectech_cols("dectech green"))
p2

Finally you will get

p2 <- ggpretay(p2)
p2

See the difference!