Functions for Soil Texture Plot, Classification and Transformation
"The Soil Texture Wizard" is a set of R functions designed to produce texture triangles (also called texture plots, texture diagrams, texture ternary plots), classify and transform soil textures data. These functions virtually allows to plot any soil texture triangle (classification) into any triangle geometry (isosceles, right-angled triangles, etc.). This set of function is expected to be useful to people using soil textures data from different soil texture classification or different particle size systems. Many (> 15) texture triangles from all around the world are predefined in the package. A simple text based graphical user interface is provided: soiltexture_gui().
The DESCRIPTION file:
| Package: | soiltexture |
| Version: | 1.5.1 |
| Date: | 2018-09-19 |
| Title: | Functions for Soil Texture Plot, Classification and Transformation |
| Author: | Julien Moeys [aut, cre], Wei Shangguan [ctb], Rainer Petzold [ctb], Budiman Minasny [ctb], Bogdan Rosca [ctb], Nic Jelinski [ctb], Wiktor Zelazny [ctb], Rodolfo Marcondes Silva Souza [ctb], Jose Lucas Safanelli [ctb], Alexandre ten Caten [ctb] |
| Authors@R: | c( person( "Julien", "Moeys", role = c("aut", "cre"), email = "jules_m78-soiltexture@yahoo.fr" ), person( "Wei", "Shangguan", role = "ctb" ), person( "Rainer", "Petzold", role = "ctb" ), person( "Budiman", "Minasny", role = "ctb" ), person( "Bogdan", "Rosca", role = "ctb" ), person( "Nic", "Jelinski", role = "ctb" ), person( "Wiktor", "Zelazny", role = "ctb" ), person( "Rodolfo", "Marcondes Silva Souza", role = "ctb" ), person( "Jose Lucas", "Safanelli", role = "ctb" ), person( "Alexandre", "ten Caten", role = "ctb" ) ) |
| Maintainer: | Julien Moeys <jules_m78-soiltexture@yahoo.fr> |
| Depends: | R (>= 3.1.0) |
| Suggests: | xtable |
| Description: | "The Soil Texture Wizard" is a set of R functions designed to produce texture triangles (also called texture plots, texture diagrams, texture ternary plots), classify and transform soil textures data. These functions virtually allows to plot any soil texture triangle (classification) into any triangle geometry (isosceles, right-angled triangles, etc.). This set of function is expected to be useful to people using soil textures data from different soil texture classification or different particle size systems. Many (> 15) texture triangles from all around the world are predefined in the package. A simple text based graphical user interface is provided: soiltexture_gui(). |
| License: | AGPL (>=3) |
| URL: | https://github.com/julienmoeys/soiltexture |
| BugReports: | https://github.com/julienmoeys/soiltexture/issues |
| Imports: | sp, MASS, tools, tcltk, utils |
Index of help topics:
TT.DJ.col Internal. A function to obtaine a weight
average 'mix' of different colors!
TT.add Function to add a new default package
parameters.
TT.auto.set Internal. Retrieve and set default values for
parameters (par() or not), when NULL.
TT.axis.arrows Internal. Plot the axis' arrows of a texture
triangle plot.
TT.baseplot Internal. Create an empty plot scene for a
texture triangle.
TT.blr.ps.lim Internal. Create a tabular version of clay silt
sand particle size limits.
TT.blr.tx.check Internal. Check the consistency between blr.tx
and css.names.
TT.check.ps.lim Internal. Check the consistency between
'base.ps.lim' and 'dat.ps.lim'.
TT.chemometrics.alr Compute the additive log-ratio transformation
of compositional data.
TT.classes Plot the texture classes polygons in a texture
triangle plot.
TT.classes.tbl Returns the table of classes of a texture
classification system.
TT.col2hsv Internal. Convert any colors to hsv.
TT.contour Wrapper for the contour() function adapted to
texture triangles.
TT.css2xy Internal. Converts texture data (3 classes)
into x-y coordinates.
TT.data.test Test the validity of some soil texture data
table (3 particle size classes).
TT.data.test.X Test the validity of some soil texture data
table (X particle size classes).
TT.dataset Genetates a virtual cross correlated clay silt
sand + Z dataset.
TT.deg2rad Internal. Function to convert angle in degree
to angle in radian.
TT.dia2phi Internal. Convert a soil particle diameter dia
[micro-meters] into phi = -log2(dia/1000)
TT.edges Internal. Plot the edges (bare axis) of a soil
texture triangle.
TT.env TT env
TT.gen.op.set Internal. Retrieve and set default values from
options.
TT.geo.get Internal. Retrieve and return the geometrical
parameters from a list of parameter values
(NULL or not).
TT.geo.set Internal. Takes "geo" values and assign them
individually in the parent function.
TT.get Function to retrieve / get the default package
parameters.
TT.grid Plot a grid at regular texture intervals inside
an existing soil texture triangle.
TT.ifelse Internal. Flexible version of ifelse.
TT.image Wrapper for the contour() function adapted to
texture triangles.
TT.iwd Inverse weighted distance interpolation on a
grid.
TT.kde2d Calculated the 2D probabilty density on an x-y
grid.
TT.lines Internal. Used to plot line elements of a
texture plot axis, ticks, arrows, etc.
TT.locator Interactive (mouse clic) retrieval the CLAY
SILT SAND coordinate of points on a texture
triangle.
TT.mahalanobis Calculates the Mahalanobis distance between
clay silt and sand.
TT.normalise.sum Normalises the sum of the 3 particle size
classes.
TT.normalise.sum.X Normalises the sum of the X particle size
classes.
TT.par.op.set Internal. Retrieve and set default values from
options with default in "par()".
TT.phi2dia Internal. Convert a soil particle phi value
into diameter dia [micro-meters].
TT.plot Plot soil texture triangles / diagrams.
TT.points Plot a soil texture data table as points on an
existing texture plot.
TT.points.in.classes Classify a table of soil texture data according
to a soil texture triangle.
TT.polygon.area Internal. Determines the area of 1 polygon (in
x-y coordinates).
TT.polygon.centroids Internal. Determines the centroid of 1 polygon
(in x-y coordinates).
TT.set Function to change / set the default package
parameters.
TT.str Internal. Stretch or reshape the range of value
of some data set.
TT.switch Internal. Used in the plot axis drawings.
TT.text Plot text labels for each values of a soil
texture data table on an existing texture plot.
TT.text.transf Log-linear transformation of a soil texture
data table between 2 particle size systems (3
classes).
TT.text.transf.X Log-linear transformation of a soil texture
data table between 2 particle size systems (X
classes).
TT.ticks Internal. Plot the axis' ticks of a texture
triangle plot.
TT.ticks.lab Internal. Plot the axis ticks' labels of a
texture triangle plot.
TT.vertices.plot Internal. Plot the vertices of a texture
classification system.
TT.vertices.tbl Returns the table of vertices of a texture
classification system.
TT.xy.grid Internal. Create a grid in the x-y coordinate
system.
TT.xy2css Internal. Convert point-data duplets (2
variables, x-y coordinaes) in Clay silta and
sand coordinates.
soiltexture-package Functions for Soil Texture Plot, Classification
and Transformation
soiltextureInfo Display and / or export system and package
version information
soiltexture_gui Text-based menu for plotting and classifying
soil texture dataFurther information is available in the following vignettes:
soiltexture_vignette |
The soil texture wizard: a tutorial (source) |
Julien Moeys [aut, cre], Wei Shangguan [ctb], Rainer Petzold [ctb], Budiman Minasny [ctb], Bogdan Rosca [ctb], Nic Jelinski [ctb], Wiktor Zelazny [ctb], Rodolfo Marcondes Silva Souza [ctb], Jose Lucas Safanelli [ctb], Alexandre ten Caten [ctb]
Maintainer: Julien Moeys <jules_m78-soiltexture@yahoo.fr>
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.