dectechViz

An R package to to make your graphs prettier quickly. This is still a work in progress so bear with me. Here is how it should work currently.

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!

library(gridExtra)
grid.arrange(p1, p2, ncol = 2)


rishkum/dectechViz documentation built on June 5, 2020, 10:13 a.m.