Learn R Programming

⚠️There's a newer version (3.5.0) of this package.Take me there.

ggtern (version 1.0.6.1)

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

Description

Extends the functionality of 'ggplot2', providing the capability to plot ternary diagrams for (subset of) the 'ggplot2' geometries. Additionally, 'ggtern' has implemented several NEW geometries which are unavailable to the standard 'ggplot2' release. For further examples and documentation, please proceed to the 'ggtern' website.

Copy Link

Version

Install

install.packages('ggtern')

Monthly Downloads

2,719

Version

1.0.6.1

License

GPL-2

Last Published

October 12th, 2015

Functions in ggtern (1.0.6.1)

aes

Modified Aesthetic Mappings
ggtern.multi

Arrange Multiple Plot Objects
geom_density_tern

Contours from a 2d density estimate - (ggtern version)
data_USDA

USDA Textural Classification Data
zzz-overloaded

Overloaded ggplot2 functions
approved_geometries

Approved Geometries
TLRWlab.suffix

Atomic, Weight or Custom Percentage Suffix
ggtern

ggtern Constructor
ggplot_gtable

Build a plot with all the usual bits and pieces.
stat_smooth_tern

Add a smoother. (Ternary Version)
theme_complete

Complete Themes
coord_tern.limit_tern

Restrict Ternary Limits
geom_smooth_tern

Add a smoothed conditional mean (MODIFIED)
theme_bw

A theme with white background and black gridlines (ggtern version)
theme_novar_tern

Blank one variable's annotations in ternary plot
theme_rgbw

A theme with white background, red, green and blue axes and gidlines
data

Data Sets
element_ternary

Theme element: ternary structure
getBreaks

Get Number of Breaks
geom_polygon_tern

Polygon Geometry (Ternary Version)
geom_confidence

Confidence Interval
tern_dep

Give a deprecation error, warning, or messsage, depending on version number (ggtern version)
tern_stop

Stop Procedure
print.ggtern

Draw plot on current graphics device.
scale_TLR_continuous

Ternary Continuous Scales
ggsave

Save a ggplot with sensible defaults (ggtern version)
Tline

Add constant lines
logratio

Log-ratio Transformations
kde2d.weighted

Two-Dimentional Kernel Density Estimation (Weighted)
theme_noarrows

Show or Hide the Ternary Arrows
theme_rgbg

A theme with grey background, red, green and blue axes and white gridlines
convenience_functions

Theme Convenience Functions
is.linear.ternary

S3 Method Is Linear
stat_interpolate_tern

Ternary Interpolation
enforceTernaryCoordinates

Enforce Coordinates
expandRange

Expand a Range of Values
mahalanobisDistance

Mahalanobis Distance
theme_arrowbaseline

Set The Ternary Arrow Baseline
expandTern

Determine Ternary Expansion
data_Feldspar

Elkin and Groves Feldspar Data
strip_unapproved

Strip Unapproved Layers
geom_interpolate_tern

Ternary Interpolation
ternary_transformations

Ternary Transformations
point.in.sequence

Put Points in Sequence
theme_showgrid

Show or Hide Grid
theme_showtitles

Show or Hide the Axis (Apex) Titles
iflasttern

Switch between two values for the ternary system
theme_gray

A theme with grey background and white gridlines (ggtern version)
clipPolygons

Clip Polygons
ggtern-package

Ternary Diagrams in R
stat_density_tern

2d density estimation - (ggtern version)
TLRWlab

Change Axis labels and legend titles
ternLimitsForCoord

Ternary Limits
theme_classic

A classic-looking theme, with x and y axis lines and no gridlines (ggtern version).
theme_ticksoutside

Place Ticks Inside or Outside
theme_elements

New Theme Elements
undoCartesian

Undo a Ternary Transformation
theme_showprimary

Show or Hide the Primary/Secondary Ticks
suppressColours

Suppress Colours
theme_clockwise

Direction of Ternary Rotation
zzz-internal

Internal Functions
theme_custom

Theme with custom basic colours
coord_tern

Ternary Coordinate System
geom_errorbarL

Ternary Error Bars
theme_showlabels

Show or Hide Axis Ticklabels
notransform

notransform is an internal function that permits the input argument (evaluate) to be executed with temporary disabling of ternary transformations, existing state is restored
geom_segment

Single line segments (Ternary Version).
ggplot_build

Build ggplot for rendering (MODIFIED for ggtern)
theme_minimal

A minimalistic theme with no background annotations (ggtern version).
themearrowlength

Change the Length of the Ternary Arrows