Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

undocumented

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

logical input to check

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

x

character vector

x

input object

x

formula object

ggplot

object

Author(s)

Nicholas Hamilton

Nicholas Hamilton

Nicholas Hamilton

Nicholas Hamilton

Nicholas Hamilton


ggtern

An Extension to 'ggplot2', for the Creation of Ternary Diagrams

v3.3.0
GPL-2 | file LICENSE
Authors
Nicholas Hamilton [aut, cre]
Initial release
2020-04-9

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.