Data Analysis and Visualization in R Using smplot2
Last Updated: 2023-08-30
Welcome!
This book (https://smin95.com/dataviz) guides the reader to be familiar with R, a programming language, for data visualization. It also introduces the R package smplot2, which aims to make the process of data visualization simple. This book was created entirely using RMarkdown for reproducibility.
The old website (on smplot) can be accessed using this link (https://smin95.com/dataviz0).
Reference
Here is the only (and slightly outdated) reference about the package.
Seung Hyun Min, Jiawei Zhou. smplot: An R Package for Easy and Elegant Data Visualization (2021). Frontiers in Genetics, 12:802894. pdf
The codes of the figures in the report are here but these depend on smplot, not smplot2. In near future, I plan to submit smplot2 to CRAN and post its vignette here.
Installation of smplot2
install.packages(c('tidyverse','devtools','gghalves'))
::install_github('smin95/smplot2', force = TRUE) devtools
Issues and contact
If you spot any mistakes in this online book, please pull-request on Github or email me seung.min@mail.mcgill.ca. If you find issues with the smplot2 package, please pull-request on Github.
License
smplot2 is under the MIT license. This tutorial is licensed under a Creative Commons Attribution 4.0 International License. I am the sole creator of smplot2.