fractionation {ArArRedux}R Documentation

Compute the mass fractionation correction

Description

Compares the measured 40Ar/36Ar ratio of an air shot on a given detector with the atmospheric ratio.

Usage

fractionation(fname, detector, MS = "ARGUS-VI", PH = FALSE)

Arguments

fname

a .csv file with the air shot data

detector

the name of the ion detector

MS

the type of mass spectrometer

PH

TRUE if the data were recorded in 'peak hopping' mode, FALSE if recorded in multicollector mode.

Value

an object of class logratios

Examples

data(Melbourne)
fd37file <- system.file("AirL2.csv",package="ArArRedux")
fd40file <- system.file("AirH1.csv",package="ArArRedux")
fract <- list(fractionation(fd37file,"L2",PH=TRUE),
              fractionation(fd40file,"H1",PH=FALSE))
if (isTRUE(all.equal(Melbourne$fract,fract))){
  print("We just re-created the fractionation correction for the Melbourne dataset")
}

[Package ArArRedux version 1.0 Index]