loaddata {ArArRedux} | R Documentation |
Loads a .csv file with raw mass spectrometer data
loaddata(fname, masses, MS = "ARGUS-VI", PH = FALSE)
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. |
if PH=FALSE: an object of class timeresolved
if PH=TRUE: an object of class PHdata
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")