README.md

Utility Functions for Plotting in R

Build Status codecov Coverage Status

Install

devtools::install_github("idot/idoplots")

Functions

   ggplot(data.frame(x=c("A","B","C"),y=1:3), aes(x=x,y=y,colour=x)) + geom_point() + discrete_colour() + xrot()
   ggplot2::ggplot(data.frame(x=1,y=1:255), ggplot2::aes(x=x,y=y,color=y,fill=y)) + ggplot2::geom_bar(stat="identity") + scale_color_bty() + scale_fill_bty()
   p1 <- ggplot2::ggplot(data.frame(x=c("A","B","C"),y=1:3), ggplot2::aes(x=x,y=y,colour=x)) + ggplot2::geom_point()
   p2 <- ggplot2::ggplot(data.frame(x=c("A","B","C"),y=1:3), ggplot2::aes(x=x,y=y,colour=x)) + ggplot2::geom_point()
   grid_arrange_shared_legend(p1, p2) 


idot/idoplots documentation built on June 6, 2019, 7:57 a.m.