Learn R Programming

ggtern (version 2.1.1)

scale_T_continuous: Continuous position scales (T, L & R).

Description

Continuous position scales (T, L & R).

Usage

scale_T_continuous(name = waiver(), limits = c(0, 1),
  breaks = getBreaks(limits, TRUE), minor_breaks = getBreaks(limits, FALSE),
  labels = 100 * breaks, expand = waiver(), ...)

scale_L_continuous(name = waiver(), limits = c(0, 1), breaks = getBreaks(limits, TRUE), minor_breaks = getBreaks(limits, FALSE), labels = 100 * breaks, expand = waiver(), ...)

scale_R_continuous(name = waiver(), limits = c(0, 1), breaks = getBreaks(limits, TRUE), minor_breaks = getBreaks(limits, FALSE), labels = 100 * breaks, expand = waiver(), ...)

Arguments

name
The name of the scale. Used as axis or legend title. If NULL, the default, the name of the scale is taken from the first mapping used for that aesthetic.
limits
A numeric vector of length two providing limits of the scale. Use NA to refer to the existing minimum or maximum.
breaks
One of:
  • NULLfor no breaks
  • waiver()for the default breaks computed by the transformation object
  • A numeric vector of positions
  • A function that takes the limits as input and returns breaks as
minor_breaks
One of:
  • NULLfor no minor breaks
  • waiver()for the default breaks (one minor break between each major break)
  • A numeric vector of positions
  • A function that given the limits returns a vector of mino
labels
One of:
  • NULLfor no labels
  • waiver()for the default labels computed by the transformation object
  • A character vector giving labels (must be same length asbreaks)
  • A function that takes
expand
A numeric vector of length two giving multiplicative and additive expansion constants. These constants ensure that the data is placed some distance away from the axes. The defaults are c(0.05, 0) for continuous variables, and c(0, 0.6)<
...
not used