guide_remove_groups: guide_remove_groups

View source: R/plotGeneral.R

guide_remove_groupsR Documentation

guide_remove_groups

Description

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()

Usage

guide_remove_groups(groups = TRUE)

Arguments

groups

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

Value

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

Examples

myExample <- guide_remove_groups(TRUE)

conquestr documentation built on June 8, 2025, 11:02 a.m.