labs-utils: Generate ggplot title and label instructions

Description Usage Arguments Details Value Author(s) Examples

Description

Generate ggplot title and label instructions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
.buildLabs(
  x = NULL,
  y = NULL,
  color = NULL,
  shape = NULL,
  size = NULL,
  fill = NULL,
  group = NULL,
  title = NULL,
  subtitle = NULL
)

Arguments

x

The character label for the horizontal axis.

y

x The character label for the vertical axis.

color

The character title for the color scale legend.

shape

The character title for the point shape legend.

size

The character title for the point size legend.

fill

The character title for the color fill legend.

group

The character title for the group legend.

title

The character title for the plot title.

subtitle

The character title for the plot subtitle

Details

If any argument is NULL, the corresponding label is not set.

Value

Title and label instructions for ggplot as a character value.

Author(s)

Kevin Rue-Albrecht

Examples

1
cat(.buildLabs(y = "Title for Y axis", color = "Color label"))

iSEE documentation built on Feb. 3, 2021, 2:01 a.m.