Learn R Programming

ggtern (version 3.5.0)

zzz-internal: Internal Functions

Description

INTERNAL FUNCTIONS: ggtern makes use of several non-exported internal functions, list are as follows:

Usage

ifthenelse(x, a, b)

is.numericor(A, B)

find_global_tern(name, env = environment(), mode = "any")

tern_dep(version, msg)

arrow_label_formatter(label, suffix = NULL, sep = "/", ...)

# S3 method for default arrow_label_formatter(label, suffix = NULL, sep = "/", ...)

# S3 method for call arrow_label_formatter(label, suffix = NULL, sep = "/", ...)

# S3 method for expression arrow_label_formatter(label, suffix = NULL, sep = "/", ...)

# S3 method for character arrow_label_formatter(label, suffix = NULL, sep = "/", latex = FALSE, ...)

joinCharacterSeries(x, lastWord = "and")

identityInv(z)

getFormulaVars(x, dependent = TRUE)

scales_add_missing_tern(plot)

layers_add_or_remove_mask(plot)

Arguments

x

formula object

a

value to return if x is TRUE

b

value to return if x is FALSE

A

value to return if numeric

B

numeric value to return if A is NOT numeric

name

character name of object to search for

env

environment to search within as first priority

mode

the mode to search within

version

The last version of ggplot2 where this function was good (in other words, the last version where it was not deprecated).

msg

The message to print.

label

character label

suffix

chacater suffix behind each label

sep

the seperator between label and suffix

...

additional arguments

latex

logical as to whether latex formats should be parsed

dependent

whether to return the dependent variables (TRUE) or the indpenedent variables (FALSE)

plot

ggplot object

Author

Nicholas Hamilton