The 'ggplotAssist' is an RStudio addin for teaching and learning plot generation using the 'ggplot2' package. You can learn each steps of plot generation - aesthetics mapping, select geometries, add scales, apply theme - by clicking your mouse without coding. You can see the resultant plot and see the each steps of plot layer by layer. You get resultant code for ggplot.
You have to install the developmental version of R package editData from github.
#install.packages("devtools")
devtools::install_github("cardiomoon/editData")You can install ggplotAssist package from github.
#install.packages("devtools")
devtools::install_github("cardiomoon/ggplotAssist")This addin can be used to interactively generate a ggplot using ggplot2 package. The intended way to use this is as follows:
data.frame or a tibble in your R session, e.g. msleep(1). Execute this addin(arrow), to interactively manipulate it.x(3) and bodywt(4) to map bodywt as a x-axis variable.…
You can use the ggplotAssist() function as a regular function, e.g. in a command line.
result <- ggplotAssist(mtcars)You can find full vignette here. http://rpubs.com/cardiomoon/321791