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 April 3, 2025, 11:47 p.m.