Private tools for ggplot2
Private tools for ggplot2
This package is a set of functions that are frequently used by
ygeunkim with ggplot2
.
devtools::install_github("ygeunkim/goodgraphic")
Using tidyverse
package is recommended.
library(tidyverse)
library(goodgraphic)
This is the function motivated by Jackson
(2017).
gg_scatter(diamonds, mapping = aes(x = carat, y = price), alpha_focus = TRUE, size = 2)