Learn R Programming

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

ggtern (version 2.1.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

3,222

Version

2.1.1

License

GPL-2

Maintainer

Nicholas Hamilton

Last Published

March 31st, 2016

Functions in ggtern (2.1.1)

approved_layers

Approved Geoms, Stats and Positions
ggplot_gtable

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

Density Estimate
ggplot

Create a new ggplot plot.
theme_rotate

Rotate Ternary Diagram
ggplotGrob

Generate a ggplot2 plot grob.
zzz-overloaded

Overloaded ggplot2 functions
ggsave

Save a ggplot (or other grid object) with sensible defaults (ggtern version)
geom_confidence_tern

Confidence Interval
position_jitter_tern

Jitter ternary points to avoid overplotting.
zzz-depreciated

Depreciated Functions
label_formatter

label_formatter is a function that formats / parses labels for use in the grid.
ternary-transformation

Ternary / Cartesian Transformation
geom_errorbarX

Ternary Error Bars
geom_Xline

Fixed Value Lines
aes

Modified Aesthetic Mappings
geom_density_tern

Density Estimate
ggtern_labels

Change Axis labels and legend titles
convenience_functions

Theme Convenience Functions
data_sets_USDA

USDA Textural Classification Data
annotation_raster_tern

Annotation: High-performance rectangular tiling, ggtern version
data_sets_Fragments

Grantham and Valbel Rock Fragment Data
ggtern

ggtern Constructor
coord_tern

Ternary Coordinate System
themearrowlength

Change the Length of the Ternary Arrows
geom_Xisoprop

Fixed Value Isoproportion Lines
arrangeGrob

Arrange multiple grobs on a page (ggtern version)
tern_limits

Restrict Ternary Limits
position_nudge_tern

Nudge Ternary Points.
mahalanobis_distance

Mahalanobis Distance
theme_showlabels

Show or Hide Axis Ticklabels
theme_bordersontop

Render Borders on Top
theme_legend_position

Position Legend in Convenient Locations
theme_clockwise

Direction of Ternary Rotation
strip_unapproved

Strip Unapproved Layers
transform_position_tern

Convenience function to transform all position variables in a ternary plot
geom_mask

Apply Manual Clipping Mask
data_sets_Feldspar

Elkin and Groves Feldspar Data
geom_interpolate_tern

Ternary Interpolation
ggtern_package

Ternary Diagrams in R
theme

New Theme Elements
ggplot_build

Build ggplot for rendering.
geom_point_swap

Points (Colour and Fill Swapped), as for a scatterplot
scale_T_continuous

Continuous position scales (T, L & R).
draw_key_tern

Key drawing functions
theme_gridsontop

Render Grids on Top
kde2d.weighted

Two-Dimentional Kernel Density Estimation (Weighted)
theme_showtitles

Show or Hide the Axis (Apex) Titles
geom_crosshair_tern

Ternary Crosshairs
suffix_arrow

Atomic, Weight or Custom Percentage Suffix
geom_smooth_tern

Add a Smoothed Conditional Mean.
theme_noarrows

Show or Hide the Ternary Arrows
theme_showgrid

Show or Hide Grid
theme_novar_tern

Blank one variable's annotations in ternary plot
theme_complete

Complete Themes
theme_ticksoutside

Place Ticks Inside or Outside
zzz-internal

Internal Functions
+.gg

Plot Construction
theme_showprimary

Show or Hide the Primary/Secondary Ticks
ggtern_themes

ggtern themes