Package: ggtern 3.5.0
Nicholas Hamilton
ggtern: An Extension to 'ggplot2', for the Creation of Ternary Diagrams
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.
Authors:
ggtern_3.5.0.tar.gz
ggtern_3.5.0.tar.gz(r-4.5-noble)ggtern_3.5.0.tar.gz(r-4.4-noble)
ggtern_3.5.0.tgz(r-4.4-emscripten)ggtern_3.5.0.tgz(r-4.3-emscripten)
ggtern.pdf |ggtern.html✨
ggtern/json (API)
NEWS
# Install 'ggtern' in R: |
install.packages('ggtern', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
- Feldspar - Elkin and Groves Feldspar Data
- FeldsparRaster - Elkin and Groves Feldspar Data
- Fragments - Grantham and Valbel Rock Fragment Data
- SkyeLava - Aichisons Skye Lavas
- USDA - USDA Textural Classification Data
- WhiteCells - Aichisons White Cells
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 8 months agofrom:d628105c35. Checks:OK: 1 NOTE: 1. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 21 2024 |
R-4.5-linux | NOTE | Oct 21 2024 |
Exports:aesannotateannotation_raster_ternarrangeGrobatomic_percentbreaks_terncoord_ternCoordTerncustom_percentdraw_key_crosshair_terndraw_key_Lisodraw_key_Llinedraw_key_Lmarkdraw_key_point_swapdraw_key_Risodraw_key_Rlinedraw_key_Rmarkdraw_key_Tisodraw_key_Tlinedraw_key_Tmarkelement_ternaryfind_global_terngeom_confidencegeom_confidence_terngeom_crosshair_terngeom_density_terngeom_errorbarLgeom_errorbarRgeom_errorbarTgeom_hex_terngeom_interpolate_terngeom_label_viewportgeom_Lisopropgeom_Llinegeom_Lmarkgeom_maskgeom_mean_ellipsegeom_point_swapgeom_polygon_closedgeom_Risopropgeom_Rlinegeom_Rmarkgeom_smooth_terngeom_text_viewportgeom_Tisopropgeom_Tlinegeom_Tmarkgeom_tri_ternGeomConfidenceTernGeomCrosshairTernGeomDensityTernGeomErrorbarlGeomErrorbarrGeomErrorbartGeomHexTernGeomInterpolateTernGeomLabelViewportGeomLisopropGeomLlineGeomLmarkGeomMaskGeomMeanEllipseGeomPointSwapGeomPolygonClosedGeomRasterAnnTernGeomRisopropGeomRlineGeomRmarkGeomSmoothTernGeomTextViewportGeomTisopropGeomTlineGeomTmarkGeomTriTerngetBreaksgetLabelsggplotggplot_buildggplot_gtableggplotGrobggsaveggternggtern.multigrid.arrangekde2d.weightedlabels_ternLarrowlablayer_datalimit_ternlimits_ternLlabllineLlinemahalanobis_distancepercent_atomicpercent_custompercent_weightpoint.in.sequenceposition_jitter_ternposition_nudge_ternPositionJitterTernPositionNudgeTernRarrowlabrgb2hexRlabrlineRlinescale_L_continuousscale_R_continuousscale_T_continuousstat_confidencestat_confidence_ternstat_density_ternstat_hex_ternstat_interpolate_ternstat_mean_ellipsestat_smooth_ternstat_tri_ternStatConfidenceTernStatDensityTernStatHexTernStatInterpolateTernStatMeanEllipseStatSmoothTernStatTriTernTarrowlabtern_anticlockwisetern_clockwisetern_counterclockwisetern_limittern_limitstheme_anticlockwisetheme_arrowbaselinetheme_arrowcustomlengththeme_arrowdefaulttheme_arrowlargetheme_arrowlengththeme_arrowlongtheme_arrownormaltheme_arrowshorttheme_arrowsmalltheme_bluedarktheme_bluelighttheme_bordersonbottomtheme_bordersontoptheme_bvbgtheme_bvbwtheme_bwtheme_classictheme_clockwisetheme_counterclockwisetheme_customtheme_darktheme_darkertheme_ggterntheme_graytheme_gridsonbottomtheme_gridsontoptheme_hidearrowstheme_hidegridtheme_hidegrid_majortheme_hidegrid_minortheme_hidelabelstheme_hidelatextheme_hidemasktheme_hideprimarytheme_hidesecondarytheme_hidetickstheme_hidetitlestheme_latextheme_legend_positiontheme_lighttheme_linedrawtheme_matrixtheme_meshtheme_minimaltheme_noarrowstheme_nogridtheme_nogrid_majortheme_nogrid_minortheme_nolabelstheme_nolatextheme_nomasktheme_noprimarytheme_nosecondarytheme_notickstheme_notitlestheme_novar_terntheme_rgbgtheme_rgbwtheme_rotatetheme_showarrowstheme_showgridtheme_showgrid_majortheme_showgrid_minortheme_showlabelstheme_showlatextheme_showmasktheme_showprimarytheme_showsecondarytheme_showtickstheme_showtitlestheme_tern_nogridtheme_tern_nogrid_majortheme_tern_nogrid_minortheme_ticklengththeme_ticklength_majortheme_ticklength_minortheme_ticksinsidetheme_ticksoutsidetheme_tropicaltheme_voidtheme_zoom_centertheme_zoom_Ltheme_zoom_Mtheme_zoom_Rtheme_zoom_TTlabtlineTlinetlr2xytransform_position_ternweight_percentWlabxy2tlrzlab
Dependencies:bayesmclicolorspacecompositionsDEoptimRfansifarverggplot2gluegridExtragtablehexbinisobandlabelinglatex2explatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigplyrprotoR6RColorBrewerRcppRcppArmadillorlangrobustbasescalesstringistringrtensorAtibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
OLD FUNCTIONS new_panel','train_layout','train_position','train_ranges','map_position','map_layout','reset_scales','facet_render', xlabel','ylabel' expand_default', ## REMOVED | .getFunctions |
Modified Aesthetic Mappings | aes |
Create an annotation layer (ggtern version). | annotate |
Annotation: High-performance rectangular tiling (ggtern version) | annotation_raster_tern GeomRasterAnnTern |
Approved Geoms, Stats and Positions | approved_geom approved_layers approved_position approved_stat |
Arrange multiple grobs on a page (ggtern version) | arrangeGrob grid.arrange |
Generate Axis Breaks | breaks_tern getBreaks |
Ternary Coordinate System | CoordTern coord_tern |
Elkin and Groves Feldspar Data | data_Feldspar Feldspar FeldsparRaster |
Grantham and Valbel Rock Fragment Data | data_Fragments Fragments |
Aichisons Skye Lavas | data_SkyeLava SkyeLava |
USDA Textural Classification Data | data_USDA USDA |
Aichisons White Cells | data_WhiteCells WhiteCells |
Key drawing functions | draw_key_crosshair_tern draw_key_Liso draw_key_Lline draw_key_Lmark draw_key_point_swap draw_key_Riso draw_key_Rline draw_key_Rmark draw_key_tern draw_key_Tiso draw_key_Tline draw_key_Tmark |
Confidence Interval | GeomConfidenceTern GeomMeanEllipse geom_confidence geom_confidence_tern StatConfidenceTern stat_confidence stat_confidence_tern |
Ternary Crosshairs | GeomCrosshairTern GeomLmark GeomRmark GeomTmark geom_crosshair_tern geom_Lmark geom_Rmark geom_Tmark |
Density Estimate (ggtern version) | GeomDensityTern geom_density_tern StatDensityTern stat_density_tern |
Ternary Error Bars | GeomErrorbarl GeomErrorbarr GeomErrorbart geom_errorbarL geom_errorbarR geom_errorbarT geom_errorbarX |
Hexbin (ggtern version). | GeomHexTern GeomTriTern geom_hex_tern StatHexTern stat_hex_tern |
Ternary Interpolation | GeomInterpolateTern geom_interpolate_tern StatInterpolateTern stat_interpolate_tern |
Draw Label at Relative Position on Viewport | GeomLabelViewport geom_label_viewport |
Apply Manual Clipping Mask | GeomMask geom_mask |
Mean Ellipse | geom_mean_ellipse StatMeanEllipse stat_mean_ellipse |
Points (Colour and Fill Swapped), as for a scatterplot | GeomPointSwap geom_point_swap |
Closed Polygons | GeomPolygonClosed geom_polygon_closed |
Add a Smoothed Conditional Mean. | GeomSmoothTern geom_smooth_tern StatSmoothTern stat_smooth_tern |
Draw Text at Relative Position on Viewport | GeomTextViewport geom_text_viewport |
Tribin (ggtern version). | geom_tri_tern StatTriTern stat_tri_tern |
Fixed Value Isoproportion Lines | GeomLisoprop GeomRisoprop GeomTisoprop geom_Lisoprop geom_Risoprop geom_Tisoprop geom_Xisoprop |
Fixed Value Lines | GeomLline GeomRline GeomTline geom_Lline geom_Rline geom_Tline geom_Xline Lline lline Rline rline Tline tline |
Create a new ggplot plot. | ggplot ggplot.default plot.ggplot print.ggplot |
Save a ggplot (or other grid object) with sensible defaults (ggtern version) | ggsave grid.draw.ggplot |
ggtern Constructor | constructor ggtern |
Change Axis labels and legend titles | ggtern-labels ggtern_labels Larrowlab larrowlab Llab llab Rarrowlab rarrowlab Rlab rlab Tarrowlab tarrowlab Tlab tlab Wlab wlab zlab |
Atomic, Weight or Custom Percentage Suffix | atomic_percent custom_percent ggtern_labels_arrow_suffix percent_atomic percent_custom percent_weight weight_percent |
Ternary Diagrams in R | ggtern-package ggtern_package |
ggtern themes | ggtern_themes theme_bluedark theme_bluelight theme_bvbg theme_bvbw theme_bw theme_classic theme_custom theme_dark theme_darker theme_ggtern theme_gray theme_light theme_linedraw theme_matrix theme_minimal theme_rgbg theme_rgbw theme_tropical theme_void |
'label_formatter' is a function that formats / parses labels for use in the grid. | label_formatter |
Generate Axis Labels | getLabels labels_tern |
Mahalanobis Distance | mahalanobis_distance |
Jitter Ternary Points | PositionJitterTern position_jitter_tern |
Nudge Ternary Points. | PositionNudgeTern position_nudge_tern |
Prediction data frame | predictdf2d |
Ternary Position Scales | scale_L_continuous scale_R_continuous scale_T_continuous scale_X_continuous |
Strip Unapproved Layers | strip_unapproved |
Restrict Ternary Limits | limits_tern limit_tern tern_limit tern_limits |
Ternary / Cartesian Transformation | ternary_transformation tlr2xy xy2tlr |
Modify components of a theme | theme |
Change the Length of the Ternary Arrows | theme_arrowcustomlength theme_arrowdefault theme_arrowlarge theme_arrowlength theme_arrowlong theme_arrownormal theme_arrowshort theme_arrowsmall |
Render Borders on Top | theme_bordersonbottom theme_bordersontop |
Direction of Ternary Rotation | tern_anticlockwise tern_clockwise tern_counterclockwise theme_anticlockwise theme_clockwise theme_counterclockwise |
List of Available Themes | theme_complete |
Theme Convenience Functions | convenience_functions theme_convenience theme_convenience_functions |
New Theme Elements | theme_elements |
Render Grids on Top | theme_gridsonbottom theme_gridsontop |
Parse Labels w Latex Markup | theme_hidelatex theme_latex theme_nolatex theme_showlatex |
Position Legend in Convenient Locations | theme_legend_position |
Create Grid Mesh | theme_mesh |
Show or Hide the Ternary Arrows | theme_hidearrows theme_noarrows theme_showarrows |
Show or Hide the Clipping Mask | theme_hidemask theme_nomask theme_showmask |
Blank one variable's annotations in ternary plot | theme_novar_tern |
Rotate Ternary Diagram | theme_rotate |
Show or Hide Grid | theme_hidegrid theme_hidegrid_major theme_hidegrid_minor theme_nogrid theme_nogrid_major theme_nogrid_minor theme_showgrid theme_showgrid_major theme_showgrid_minor theme_tern_nogrid theme_tern_nogrid_major theme_tern_nogrid_minor |
Show or Hide Axis Ticklabels | theme_hidelabels theme_nolabels theme_showlabels |
Show or Hide the Primary/Secondary Ticks | theme_hideprimary theme_hidesecondary theme_hideticks theme_noprimary theme_nosecondary theme_noticks theme_showprimary theme_showsecondary theme_showticks |
Show or Hide the Axis (Apex) Titles | theme_hidetitles theme_notitles theme_showtitles |
Modify the Ticklengths | theme_ticklength theme_ticklength_major theme_ticklength_minor |
Place Ticks Inside or Outside | theme_ticksinside theme_ticksoutside |
Zoom on Plot Region | theme_zoom theme_zoom_center theme_zoom_L theme_zoom_M theme_zoom_R theme_zoom_T theme_zoom_X |
Depreciated Functions | clipPolygons element_ternary ggtern.multi multi multiplot point.in.sequence polyclip tern_stop theme_arrowbaseline zzz-depreciated |