R/aaa-ggplot2-performance.R

Defines functions modify_list

# More performant modifyList without recursion
modify_list <- function(old, new) {
  for (i in names(new)) old[[i]] <- new[[i]]
  old
}

Try the ggpattern package in your browser

Any scripts or data that you put into this service are public.

ggpattern documentation built on June 22, 2024, 10:53 a.m.