The Ymisc package contains several miscellaneous functions
You can install the development version of Ymisc
# install.packages("devtools") devtools::install_github("YRHwang90/Ymisc")