The ggplot2.utils
package simplifies access to utility functions
adding functionality to ggplot2. The
package imports functions across multiple extensions packages and then
exports them, so that the user only needs to load this package instead
of multiple others. In addition, this package provides layers for
Kaplan-Meier lines and ticks additions to plots.
All functions are tested to make sure that they work reliably.
Typically you want to install the release version. Developers and beta-testers might want to install the development version.
You can install the current release version from CRAN with:
install.packages("ggplot2.utils")
You can install the current development version from R-Universe with:
install.packages(
"ggplot2.utils",
repos = c("https://insightsengineering.r-universe.dev", "https://cloud.r-project.org")
)
Alternatively, you can install the current development version from GitHub with:
if (!require("remotes")) {
install.packages("remotes")
}
remotes::install_github("insightsengineering/ggplot2.utils")
Have a look at the package index to explore the available functionality:
help(package = "ggplot2.utils")
To cite ggplot2.utils
please see
here.