cbk.lame.normalize: Return normalized element abundances

Description Usage Arguments Value See Also Examples

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

Description

Return normalized element abundances. Note that only elements that exist both in pmlame and reflame are processed. See also "Geochemical Modelling..." by Janousek et al. (2015)

Usage

1
2
cbk.lame.normalize(pmlame, reflame, suffix_after_chem = NULL,
  verbose = FALSE)

Arguments

pmlame

A pmlame with row of stone and column of chem [g/g].

reflame

A pmlame of a reference. This can be a pmlame of multiple references.

suffix_after_chem

String to recognize column of errors. Feed "_error" when necessary. As of February 18, 2017, this exists only for compatibility.

verbose

Output debug info (default: FALSE).

Value

A ref-normalized daraframe with only elements defined in ref.

See Also

cbk.ref and cbk.periodic

Examples

1
2
3
4
5
dflame.csv <- cbk.path("20081202172326.hkitagawa_trace.dflame")
message(sprintf("The dflame.csv is located at |%s|.",dflame.csv))
pmlame     <- cbk.read.dflame(dflame.csv,"ppm")
reflame    <- cbk.ref("Boynton.1989","ppm")
cbk.lame.normalize(pmlame,reflame)

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