Learn R Programming

ggeasy (version 0.1.4)

easy_remove_legend_title: Easily remove legend title Remove the legend title

Description

Easily remove legend title Remove the legend title

Usage

easy_remove_legend_title(teach = FALSE)

Value

a theme object

Arguments

teach

print longer equivalent ggplot2 expression?

Examples

Run this code
library(ggplot2)
# remove legend title from all aesthetics
ggplot(mtcars, aes(wt, mpg, colour = cyl)) +
  geom_point() + easy_remove_legend_title()

Run the code above in your browser using DataLab