A collection of custom plotting functions built on ggplot2 and related packages.
You can install the development version of mrvplot from GitHub with:
# install.packages("devtools")
devtools::install_github("mrvollger/mrvplot")mrv_ggsave() - Enhanced ggsave with data export and temp file creationmrv_grid() - Clean minimal grid thememrv_hgrid() - Horizontal grid theme onlymrv_vgrid() - Vertical grid theme onlymrv_theme_no_x() - Remove x-axis elements
library(mrvplot)
# Create a plot with clean styling
ggplot(mtcars, aes(mpg, wt)) +
geom_point() +
mrv_grid()
# Save with data export
mrv_ggsave("my_plot.pdf", width = 3, height = 3)To learn more see the vignette on my favorite plot.