undocumented: Internal Functions

zzz-internalR Documentation

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 = "/", ...)

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

dependent

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

plot

ggplot object

latex

logical as to whether latex formats should be parsed

ggplot

object

Author(s)

Nicholas Hamilton


ggtern documentation built on June 7, 2023, 6:33 p.m.