cbk.lame.reduce: Convert major-element concentration as oxide to one as metal

Description Usage Arguments Value Examples

View source: R/cbk.lame.reduce.R

Description

Convert major-element concentration as oxide to one as metal

Usage

1

Arguments

pmlame

A pmlame of element abundances (with columns of stone and rows of chem)

Value

A pmlame with converted columns

Examples

1
2
3
4
5
6
7
pmlfile <- cbk.path("20081202172326.hkitagawa.pml")
message(sprintf("The pmlfile is located at |%s|.",pmlfile))
pmlame  <- cbk.read.casteml(pmlfile,"ppm",category=NULL,force=TRUE)
pmlame1 <- cbk.lame.reduce(pmlame)

pmlame <- structure(list(Si = c(NA, NA, NA, 0.233, NA, NA, NA, NA), SiO2 = c(0.5195, 0.5359, 0.5341, 0.499, 0.5133, 0.5899, 0.5305, 0.5)), .Names = c("Si", "SiO2"), class = "data.frame", row.names = c("ref-cpx-klb1", "ref-cpx-sax33", "ref-cpx-sax39c", "ref-gl-bhvo2", "ref-gl-dr1a1", "ref-gl-tahiti", "ref-pl-bytownite-c", "ref_dl_blank"))
cbk.lame.reduce(pmlame)

misasa/chelyabinsk documentation built on Nov. 24, 2020, 5:47 a.m.