ppm2oxide {GCDkit}R Documentation

Calculation of wt% of the given oxide from ppm of atom

Description

Recasts concentrations of a cation (in ppm) to those of the selected oxide (in wt %).

Usage

ppm2oxide(formula,where="WR")

Arguments

formula

character: the oxide which is to be recalculated

where

character: a name of matrix or dataframe with the data to be recalculated

Value

A numeric matrix with one column containing the recalculated concentrations of the given oxide (in wt %) for individual samples.

Author(s)

Vojtěch Janoušek, vojtech.janousek@geology.cz

See Also

oxide2ppm, oxide2oxide, molecularWeight

Examples

    data(sazava)
    accessVar("sazava")

    print(WR[,c("K2O","K")])
    ppm2oxide("K2O") # Calculates K2O (in wt %) from K (in ppm)
     
    oxide2ppm("K2O") # And vice versa

[Package GCDkit version 6.1 Index]