guide_remove_groups function

guide_remove_groups

guide_remove_groups

helper functions for ggplot - conditionally creates call to ggplot2::guides to remove legends that involve groups when there is no groups in the call to conquestr::plotCCC()

guide_remove_groups(groups = TRUE)

Arguments

  • groups: A bool indicating if there is groups in the call to conquestr::plotCCC().

Returns

a list with a function call to ggplot2::guides.

Examples

myExample <- guide_remove_groups(TRUE)
  • Maintainer: Dan Cloney
  • License: GPL-3
  • Last published: 2025-02-19