R/lehuynh: Personal R package
→ GitHub repository
→ Package Website
As a data enthusiast myself, I have always sought tools that streamline the data analysis process without compromising on flexibility or efficiency.
Fueled by this quest, I embarked on the journey of crafting lehuynh.
This package encapsulates a culmination of my passion for data and software development.
lehuynh is an R package comprising a collection of miscellaneous R functions and templates that I find particularly useful.
This package includes:
lehuynh R package is available on CRAN via:
install.packages("lehuynh")
To get the latest in-development features, install the development version from GitHub:
if(!requireNamespace("devtools", quietly = TRUE)) {
install.packages("devtools")
}
devtools::install_github("le-huynh/lehuynh")
Additionally, this package is accessible for download via Zenodo with the DOI 10.5281/zenodo.11522849.
ggsave_elsevier( ): Save a plot using ggplot2::ggsave( ). Plot size follows instructions of Elsevier journalsimport_data( ): Imports multiple data files of the same format from a specified directory. The output is a named list of imported objectsimport_excel( ): Imports an Excel file with multiple sheets and returns a named list of imported sheetslehuynh_theme( ): Personal ggplot2 theme (white background, black axis, black text, etc.)MinMaxScaling( ): Min-max normalization (min = 0, max = 1)new_project( ): Create a project for reproducible purposengrams_filter(): Filter and generate N-Grams from text dataplot_networkD3(): Plot network using NetworkD3ppc_brms( ): Plot fitted versus observed values for brmsfit Objectstidytuesday( ): Create a new folder for #tidytuesday challengetsi( ): Calculate TSI (Trophic state index) (Carlson, 1977)draft_elsevier: Creating an Rmarkdown manuscript for Elsevier journals (example)lehuynh_Bayes_brms: Basic steps to fit, check, and interpret a Bayesian model via brms packagelehuynh_EA: Basic steps to do Exploratory AnalysisFor a comprehensive overview of the package’s functions, check out the package website at
le-huynh.github.io/lehuynh/.