| ppm2oxide {GCDkit} | R Documentation | 
Recasts concentrations of a cation (in ppm) to those of the selected oxide (in wt %).
ppm2oxide(formula,where="WR")
| formula | character: the oxide which is to be recalculated | 
| where | character: a name of matrix or dataframe with the data to be recalculated | 
A numeric matrix with one column containing the recalculated concentrations of the given oxide (in wt %) for individual samples.
Vojtěch Janoušek, vojtech.janousek@geology.cz
oxide2ppm, oxide2oxide, molecularWeight 
    sampleDataset("sazava")
    print(WR[,c("K2O","K")])
    ppm2oxide("K2O") # Calculates K2O (in wt %) from K (in ppm)
     
    oxide2ppm("K2O") # And vice versa