R Shiny app as a handy inteface to ggplot2. It enables you to quickly explore your data to detect trends on the fly. You can do scatter plots, dotplots, boxplots, barplots, histograms and densities. For a quick overview head to this Youtube Tutorial .
Export Plots and Plot Code tabs contributed by Dean Attali. Once a plot is saved in the X/Y Plot tab by providing a name and hitting the Save plot star button it will become available for exporting. You can export in portrait, landscape and multiple plots per page.
Plot Code will let you look at the source code that generated the plot with the various options.
Quick summary statistics tables using Benjamin Rich table1 package.
- [read.csv("youruploadeddata.csv",na.strings = c("NA","."))]
- Change continuous variable to be treated as categorical
- Change continuous variable to categories with a specified number of bins or by supplying values for the bins start/end
- Up to six sequential filters for categorical and continuous variables
- Renaming and reordering of the levels of categorical variable(s)
- Combining two categorical variables into one
- Rounding a numerical variable to a specified number of digits
- Quantile Regression
- Smooth/Linear/Logistic Regressions
- Mean Confidence Intervals
- Median Prediction Intervals
- Kaplan-Meier
- Correlation Coefficients
*facet_grid
and facet_wrap
- Group, color, size, fill mappings
- Controlling y and x axis labels, legends and other commonly used theme options.
- Adding a title, subtitle and a caption
Make sure to have all required packages installed shiny, shinyjs, ggplot2, ggrepel, scales, DT, tidyr, dplyr, Hmisc, quantreg, markdown, ggkm, colourpicker and table1. The app will try to install ggkm and table1 (if not found) using the commands below:
install.packages(c("shiny","shinyjs","ggplot2","scales","DT","tidyr","dplyr","Hmisc","quantreg","markdown","colourpicker","devtools"))
devtools::install_github("sachsmc/ggkm")
devtools::install_github("benjaminrich/table1")
Make sure that you are using the this version of ggrepel 0.70 or later.
devtools::install_github("slowkow/ggrepel")
The main app contains several testing apps the main app can be run using this command:
shiny::runGitHub('ggplotwithyourdata', 'smouksassi', subdir = 'shinyapp')
Try to reproduce the steps below using the included sample_df.csv.