Learn R Programming

conquestr (version 1.4.5)

guide_remove_linetype: guide_remove_linetype

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_linetype(groups = TRUE)

Value

a list with a call to ggplot2::guides.

Arguments

groups

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

Examples

Run this code
myExample <- guide_remove_linetype(TRUE)

Run the code above in your browser using DataLab