How to make graphics with transparent background in R using ggplot2?
Create the initial plot: library(ggplot2) d <- rnorm(100) df <- data.frame( x = 1, y = d, group = rep(c(“gr1”, “gr2”), 50) ) p <- ggplot(df) + stat_boxplot( aes( x = x, y = y, color = group ), fill = “transparent” # for the inside of the boxplot ) The fastest way to modify … Read more