ggtern_base: Create a base ggtern object to plot over

Description Usage Arguments Examples

View source: R/theme_jll.R

Description

This function creates a ternary plot base using ggtern. It creates the plot and creates three segments that easilly separate zones in the data, making the chart easier to interpret

Usage

1
2
3
4
5
6
7
8
ggtern_base(
  x_color = "#de8a5a",
  y_color = "#008080",
  z_color = "#CFC994",
  x_label = "Low",
  y_label = "High",
  z_label = "Medium"
)

Arguments

x_color

the color of the 'x' segment. Defaults to "#de8a5a"

y_color

the color of the 'y' segment. Defaults to "#CFC994"

z_color

the color of the 'z' segment. Defaults to "#008080"

x_label

the name of the 'x' label. Defaults to "Low"

y_label

the name of the 'y' label. Defaults to "Medium"

z_label

the name of the 'z' label. Defaults to "High"

Examples

1

OwnKng/JLLify documentation built on March 31, 2021, 2:55 p.m.