Description Usage Arguments Value Examples
Extracts raw 208Pb/207Pb, 206Pb/207Pb, 208Pb/206Pb and 207Pb/206Pb data from the raw .csv file produced by Perkin Elmer Elan ICP-MS.
1 | extract_data(filename, report = c("short", "long"))
|
filename |
A data set saved in csv format with "," as field separator and "." as decimal separator. Such file can be obtained from the .rep report provided by the instrument by opening it with a spreadsheet editor and saving it as .csv file using a local setting = EN-US or equivalent. The function identifies standard samples for bracketing when labelled as “SRM” and substitutes their names with “SRM981_X” where X is a progressive integer. Similarly, QC samples “CRM” are renamed as “CRM482_X”. |
report |
A string referring to the type of report generated by the instrument Accepted
values are
|
A data.table containing raw intensities and raw Pb isotope ratios for each sample. Provided isotope ratios are 208Pb/207Pb, 206Pb/207Pb, 208Pb/206Pb and 207Pb/206Pb. Note that these ratios have still to be inspected for outliers, summarised and corrected for mass bias.
1 2 3 4 5 | file.short <- system.file("extdata", "sednya_2015.csv", package = "pbratios")
sednya.2015 <- extract_data(file.short, report = "short")
file.long <- system.file("extdata", "spmnya_2012.csv", package = "pbratios")
spmnya.2012 <- extract_data(file.long, report = "long")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.