Create Standalone and Composite Plots in 'ggplot2' for Publications

Provides functions for creating and annotating a composite plot in 'ggplot2'. Offers background themes and shortcut plotting functions that produce figures that are appropriate for the format of scientific journals. Some methods are described in Min and Zhou (2021) .


smplot2 - An R package for plotting standalone and composite figures in scientific publications

CRAN_Release_Badge

Author: Seung Hyun (Sam) Min

smplot2 (SM: Seung Hyun Min) is an R package for statistical data visualization that complements ggplot2. This package represents what I wish I had back when I was beginning to learn R. It aims to make every step of data visualization easy.

smplot was first created in May 2021, and due to the numerous deprecated and newly created primary functions, smplot has now evolved into smplot2.

Key functionalities include shortcuts for plotting elegant figures that are appropriate for scientific journals and functions that facilitate generating and annotating composite figures.

Installation using RStudio

You can install the released version of smplot2 from CRAN.

install.packages('smplot2')

The development version can be directly downloaded here:

install.packages("devtools")
devtools::install_github('smin95/smplot2')

To access an updated tutorial (sample codes and figures) of the package, please visit https://smin95.github.io/dataviz/.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("smplot2")

0.2.6 by Seung Hyun Min, 7 months ago


https://smin95.github.io/dataviz/


Report a bug at https://github.com/smin95/smplot2/issues


Browse source code at https://github.com/cran/smplot2


Authors: Seung Hyun Min [aut, cre]


Documentation:   PDF Manual  


GPL-2 license


Imports ggplot2, graphics, ggpubr, cowplot, rlang, tibble, dplyr, grid, utils, pwr, stats, Hmisc, zoo, patchwork


Imported by ggsem.


See at CRAN