[This article was first published on R tutorial for Spatial Statistics, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
My second Shiny app is dedicated to data visualization.Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Here users can simply upload any csv or txt file and create several plots:
Error bars in barcharts are computed with the mean_se function in ggplot2, which computes error bars as mean ± standard error. When the color option is set, barcharts are plotted one next to the other for each color (option dodging).
For scatterplots, if the option for faceting is provided each plot will include a linear regression lines.
Some examples are below:
For the time being there is no option for saving plots, apart from saving the image from the screen. However, I would like to implement an option to have plots in tiff at 300dpi, but all the code I tried so far did not work. I will keep trying.
The app can be accessed here: https://fveronesi.shinyapps.io/DataViz/
The R code is available here: https://github.com/fveronesi/Shiny_DataViz
To leave a comment for the author, please follow the link and comment on their blog: R tutorial for Spatial Statistics.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.