cov_R | R Documentation |
cov_R
create a wide format tibble for an isotope pair
cov_R(.IC, .ion, ..., .species = NULL, .t = NULL, .preserve = FALSE)
.IC |
A tibble containing processed ion count data. |
.ion |
A character string or vector constituting ion names. |
... |
Variables for grouping. |
.species |
A variable constituting the species analysed. |
.t |
A variable constituting the time of the analyses. |
.preserve |
A logical whether to preserve ID variable. |
This functions converts the long format data frame to a wide format tibble for an isotope pair based on an unique identifier for the time of measurement. The data can be linked by a combination of three variable unique for the analyses; the file name, the chemical species name and the time increment of measurement. Pay attention when using in combination with 'zeroCt()'.
A tibble::tibble
in wide format
# raw data containing 13C and 12C counts on carbonate tb_rw <- read_IC(point_example("2018-01-19-GLENDON")) # Processing raw ion count data tb_pr <- cor_IC(tb_rw) # wide format cov_R(tb_pr, c("13C", "12C"), file.nm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.