| LaRocheCalc {GCDkit} | R Documentation | 
Recalculates whole-rock data into R1-R2 values of De La Roche et al. (1980).
LaRocheCalc(rock=WR,precision=getOption("gcd.digits"))
| rock | a numeric matrix with whole-rock data to be recalculated. | 
| precision | precision of the result. | 
R1-R2 parameters, as proposed by De La Roche et al. (1980):
R1 = 4 * Si - 11 * (Na + K) - 2 * (Fe[total as bivalent] + Ti), all in millications R2 = 6 * Ca + 2 * Mg + Al, all in millications
| results | numeric matrix with the two above specified parameters | 
Vojtěch Janoušek, vojtech.janousek@geology.cz
De La Roche H, Leterrier J, Grandclaude P, & Marchal M (1980) A classification of volcanic and plutonic rocks using R1R2- diagram and major element analyses - its relationships with current nomenclature. Chem Geol 29: 183-210 doi: 10.1016/0009-2541(80)90020-0
    sampleDataset("blatna")
    
    LaRocheCalc()