Learn R Programming

GGenemy (version 0.1.0)

gg_audit_labels: Audit Plot Labels and Annotations

Description

Checks for appropriate titles, labels, and legends.

Usage

gg_audit_labels(plot)

Value

A list of issues, warnings, and suggestions

Arguments

plot

A ggplot2 object

Examples

Run this code
library(ggplot2)
p <- ggplot(mtcars, aes(wt, mpg, color = factor(cyl))) +
  geom_point()
gg_audit_labels(p)

Run the code above in your browser using DataLab