loaddata: Load mass spectrometer data

Description Usage Arguments Value Examples

Description

Loads a .csv file with raw mass spectrometer data

Usage

1
loaddata(fname, masses, MS = "ARGUS-VI", PH = FALSE)

Arguments

fname

the file name, must end with .csv

masses

a vector of strings denoting the order of the isotopes listed in the table

MS

the type of mass spectrometer

PH

a boolean indicating whether the data are to be treated as multicollector (PH=FALSE) or 'peak hopping' (PH=TRUE) data. The default is PH=FALSE.

Value

if PH=FALSE: an object of class timeresolved
if PH=TRUE: an object of class PHdata

Examples

1
2
3
4
samplefile <- system.file("Samples.csv",package="ArArRedux")
masses <- c("Ar37","Ar38","Ar39","Ar40","Ar36")
m <- loaddata(samplefile,masses) # samples and J-standards
plot(m,"MD2-1a","Ar40")

pvermees/ArArRedux documentation built on May 26, 2019, 11:33 a.m.