Learn R Programming

soiltexture (version 1.5.3)

Functions for Soil Texture Plot, Classification and Transformation

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().

Copy Link

Version

Install

install.packages('soiltexture')

Monthly Downloads

986

Version

1.5.3

License

AGPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

February 16th, 2024

Functions in soiltexture (1.5.3)

TT.image

Wrapper for the image() function adapted to texture triangles.
TT.points.in.classes

Classify a table of soil texture data according to a soil texture triangle.
TT.text.transf.X

Log-linear transformation of a soil texture data table between 2 particle size systems (X classes).
TT.vertices.plot

Plot the vertices of a texture classification system.
TT.points

Plot a soil texture data table as points on an existing texture plot.
TT.vertices.tbl

Returns the table of vertices of a texture classification system.
TT.set

Function to change / set the default package parameters.
TT.text.transf

Log-linear transformation of a soil texture data table between 2 particle size systems (3 classes).
TT.plot

Plot soil texture triangles / diagrams.
TT.str

Stretch or reshape the range of value of some data set.
soiltexture-package

soiltexture: Functions for Soil Texture Plot, Classification and Transformation
TT.text

Plot text labels for each values of a soil texture data table on an existing texture plot.
soiltextureInfo

Display and / or export system and package version information
soiltexture_gui

Text-based menu for plotting and classifying soil texture data
TT.baseplot

Internal. Create an empty plot scene for a texture triangle.
TT.classes.tbl

Returns the table of classes of a texture classification system.
TT.chemometrics.alr

Compute the additive log-ratio transformation of compositional data.
TT.data.test

Test the validity of some soil texture data table (3 particle size classes).
TT.add

Function to add a new default package parameters.
TT.dia2phi

Convert a soil particle diameter dia [micro-meters] into phi = -log2(dia/1000)
TT.data.test.X

Test the validity of some soil texture data table (X particle size classes).
TT.classes

Plot the texture classes polygons in a texture triangle plot.
TT.dataset

Genetates a virtual cross correlated clay silt sand + Z dataset.
TT.contour

Wrapper for the contour() function adapted to texture triangles.
TT.geo.get

Retrieve and return the geometrical parameters from a list of parameter values (NULL or not).
TT.mahalanobis

Calculates the Mahalanobis distance between clay silt and sand.
TT.get

Function to retrieve / get the default package parameters.
TT.locator

Interactive (mouse clic) retrieval the CLAY SILT SAND coordinate of points on a texture triangle.
TT.normalise.sum

Normalises the sum of the 3 particle size classes.
TT.grid

Plot a grid at regular texture intervals inside an existing soil texture triangle.
TT.kde2d

Calculated the 2D probabilty density on an x-y grid.
TT.iwd

Inverse weighted distance interpolation on a grid.
TT.normalise.sum.X

Normalises the sum of the X particle size classes.