R/utils-aes.R

Defines functions aes_get_group

# Extract group name from mapping, aes
aes_get_group <- function(mapping){
  group <- NULL
  if(!is.null(mapping)){
    if(!is.null(mapping$group)) group <- rlang::as_label(mapping$group)
  }
  group
}

Try the ggpubr package in your browser

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

ggpubr documentation built on Feb. 16, 2023, 7:18 p.m.