labels_tern: Generate Axis Labels

Description Usage Arguments Author(s) Examples

View source: R/utilities.R

Description

Calculates the Labels for Major or Minor Gridlines based on the input limits.

Usage

1
2
labels_tern(limits = c(0, 1), breaks = breaks_tern(limits),
  format = "%g", factor = 100)

Arguments

limits

the scale limits

breaks

numeric denoting the breaks to produce corresponding labels

format

the formatting string to be passed through to the sprintf function

factor

the multiplicative factor

Author(s)

Nicholas Hamilton

Examples

1
2
labels_tern()
labels_tern(limits = c(0,.5))

leogama/ggtern documentation built on Dec. 21, 2021, 10:40 a.m.