QSA_test | R Documentation |
QSA_test
function to test for QSA.
QSA_test( .IC, .ion1, .ion2, ..., .nest = NULL, .X = NULL, .N = NULL, .species = NULL, .t = NULL, .plot = TRUE )
.IC |
A tibble containing processed ion count data. |
.ion1 |
A character string constituting the heavy isotope ("13C"). |
.ion2 |
A character string constituting the light isotope ("12C"). |
... |
Variables for grouping. |
.nest |
A variable hat identifies a series of analyses to calculate the significance of QSA. |
.X |
A variable constituting the ion count rate (defaults to
variables generated with |
.N |
A variable constituting the ion counts (defaults to variables
generated with |
.species |
A variable constituting the species analysed (defaults to
variables generated with |
.t |
A variable constituting the time of the analyses (defaults to
variables generated with |
.plot |
Currently not supported. |
The accuracy of pulsed ion counting is influenced by systematic errors which depend on the ion counting system. Quasi simultaneous arrival is one of those potential errors that can also impact isotope ratios.
A tibble::tibble()
containing the
original dataset and adds the variables: beta
, t_QSA
, and
p_QSA
that summarise the results of an linear model fitted by OLS
(respectively; the slope and the associated student's t test statistic and
p value) on the ion count rates of the common isotope (as predictor) and the
isotope ratio (as dependent variable). The p value is for beta
being
different from zero.
.
# Use point_example() to access the examples bundled with this package # 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) # QSA test QSA_test(tb_pr, "13C", "12C", file.nm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.