Skip to content

Instantly share code, notes, and snippets.

View Zhangcambium2019's full-sized avatar

Zhangcambium2019

  • Helsinki University
  • Finland
View GitHub Profile
# somewhat hackish solution to:
# https://twitter.com/EamonCaddigan/status/646759751242620928
# based mostly on copy/pasting from ggplot2 geom_violin source:
# https://github.com/hadley/ggplot2/blob/master/R/geom-violin.r
library(ggplot2)
library(dplyr)
"%||%" <- function(a, b) {