delta: calculate delta values

View source: R/postprocess.R

deltaR Documentation

calculate delta values

Description

convert stable isotope logratio data to delta notation

Usage

delta(cd, ref, log = TRUE)

Arguments

cd

an object of class calibrated

ref

the logratio composition of a reference material, i.e. a list with items val (vector of logratios) and cov (the covariance matrix of val)

log

use traditional delta notation (log=FALSE) or the logratio definition (log=TRUE)?

Value

an object of class delta

Examples

## Not run: 
data('Cameca_oxygen',package='simplex')
dc <- drift(x=Cameca_oxygen)
lr <- logratios(x=dc)
cal <- calibration(lr=lr,stand=standard(preset='NBS28-O'))
cd <- calibrate(cal)
del <- delta(cd)
tab <- data2table(del)

## End(Not run)

pvermees/simplex documentation built on Sept. 2, 2023, 12:40 p.m.