Posts

Showing posts from May, 2022

Presenting major cations and anions in soil or water samples through Maucha Diagrams

Image
  A Maucha diagram, or Maucha symbol, is a graphical representation of the major cations and anions in a chemical sample. The star shape diagram comprises eight kite-shaped polygons, the area of each of which is proportional to the concentration of an ion in milliequivalents per litre. The anions carbonate, bicarbonate, chloride and sulphate are on the left, while the cations potassium, sodium, calcium and magnesium are on the right. The total ionic concentration adds up to the area of the background circle, the total anion concentration adds up to the left semicircle and the total cation concentration adds up to the right semicircle. A package “oviz” is available in ‘github’ for developing Maucha diagram. We need to install it from github. devtools::install_github( "fkeck/oviz" ) Once installed, load the library library(oviz) Now, set your working directory using function “setwd( )”. path <- ( "E: \\ Blog" )      # Write your working directory p...

Creating Soil Textural Triangles in R

Image
  Creating Soil Textural Triangles ⛛   How do you create a textural triangle form the data on clay, silt, and sand percent in soils? Or, how do you classify these data to their textural classes? Do you use some online sources for that? R provides a comprehensive tool for creating these textural triangles in various textural classification systems all over the world such as USDA, ISSS, HYPRES, ASINE, GEPPA, etc.   We will see in this blog, the use of R in creating textural triangles ⛛. We need to install the package “soiltexture” . Use the following lines of code to install the package and load the library. install.packages( pkgs = "soiltexture" ) library( soiltexture ) Now, set your working directory using function “setwd( )”. path <- ( "E: \\ Blog" )      # Write your working directory path here setwd(path) Do notice the “\\” in the path. It’s not “\”. You can use “/” too instead of “\\”. Next, read your data on particle s...