niceDiscreteLabels: Change the labels of discrete scales manually

Description Usage Arguments Value

View source: R/nicePlots.R

Description

Implemented as part of nicePlot functions. Not meant for direct use.

Usage

1
2
3
4
5
6
7
8
9
niceDiscreteLabels(
  p,
  linename = NULL,
  linetypelabels = NULL,
  colorname = NULL,
  colorlabels = NULL,
  fillname = NULL,
  filllabels = NULL
)

Arguments

p

A ggplot2-plot

linename, colorname, fillname

The names of the scales

linetypelabels, colorlabels, filllabels

Vectors of labels, one for each

Value

A ggplot2-plot


SZuzek/nicePlots documentation built on Dec. 18, 2021, 12:01 p.m.