Description Usage Arguments Value Examples
Read ICP-MS Data Files
1 2 3 | read_icpms(path, skip = 1, na = c("NA", "", "n/a"))
tidy_icpms(df)
|
path |
The path where the files are kept |
skip |
The number of lines to skip at the beginning of the file (blank lines are automatically dropped). |
na |
Values that should be considered NA |
df |
The output of |
read_icpms
returns a
data frame with columns sample_id, datetime, run, and others in
the form "27Al_ppb" (isotope, element, unit). tidy_icpms
returns
a parameter-long, summarised result.
1 2 3 4 5 6 7 8 | # file
read_icpms(system.file("test_icpms/test_icpms.xlsx", package = "dalcwrs"))
# directory
read_icpms(system.file("test_icpms", package = "dalcwrs"))
# use tidy to get parameter-long, summarised output
raw <- read_icpms(system.file("test_icpms/test_icpms.xlsx", package = "dalcwrs"))
tidy_icpms(raw)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.