adjRock {shinyNORRRM}R Documentation

Recalculate the compositions of the rocks in an anhydrous basis (volatile-free; 100% adjusted)

Description

The oxide data, from SiO2 to P2O5 (or CO2) are first recalculated to 100 percent on an anhydrous basis, and then Fe oxidation ratio adjustment is done according to the recommendations of Middlemost (1989), or Le Maitre (1976), or else the measured Fe2O3/FeO ratios are maintained. Finally, the oxide data is recalculated to 100 percent on an anhydrous basis from Fe2O3/FeO ratios calculated.

Usage

adjRock(data, Type, Fe.adjustment, Cancrinite, Calcite)

Arguments

data

a whole rock major and trace element chemical data (as percent %). It is important to note that Fe2O3 or FeO could be Fe2O3T or FeOT if any of this values are NA or 0.

Type

rock type, if the argument is "Volcanic" is shown the volcanic rock type after (Le Bas et al., 1986), iron oxidation ratio is calculated following the equation of Le Maitre (1976) for Volcanic rocks, if the argument is "Plutonic", then Plutonic adjusts are done.

Fe.adjustment

if the argument is "Middlemost", iron oxidation ratio is calculated depending on rock type at Middlemost (1989). if the argument is "Le Maitre", iron oxidation ratio is calculated depending on rock type at Le Maitre (1976). if the argument is "Fe+3/Fe+2", iron oxidation ratio is calculated depending on their own concentration).

Cancrinite

if the argument is TRUE, CO2 will be used in whole rock adjust.

Calcite

if the argument is TRUE, CO2 will be used in whole rock adjust.

Value

Returns a dataset of adjust oxide data (.adj) on an anhydrous basis.

Author(s)

Maintainer: Reneé González-Guzmán rguzman@geociencias.unam.mx (ORCID)

References

Le Maitre, R.W. 1976. Some problems of the projection of chemical data into mineralogical classifications. Contribution Mineralogical Petrology. v. 56, pp. 181–189. Middlemost, E.A.K. 1989. Iron oxidation ratios, norms and the classification of volcanic rocks. Chemical Geology. v. 77, pp. 19–26.

See Also

ultimateCIPW Indices

Examples

#create a dataframe with major elements indicating the appropriate parameters of rocks
#example of dataframes: EAP.csv, IUGS.csv, and TephraKam.csv
data(IUGS)
adjRock(IUGS, Type= "Volcanic", Fe.adjustment = "Middlemost", Cancrinite = FALSE, Calcite = FALSE)
rm(IUGS)#cleanup

[Package shinyNORRRM version 0.8.6 Index]