stat_SDprop | R Documentation |
stat_SDprop
function for propagation of descriptive and predictive
(Poisson) error statistics for isotope ratios (R).
stat_SDprop(ion1, ion2, type = "sd", predicted = FALSE)
ion1 |
A numeric vector constituting the single ion count rate of the
heavy isotope if argument predicted is set to |
ion2 |
A numeric vector constituting the single ion count rate of the
light isotope if argument predicted is set to |
type |
A character string for the type of uncertainty estimate:
|
predicted |
Logical indicating whether sd is descriptive |
Isotope ratios are based on two measured variables, i.e., two isotopes of a single chemical species. The combined variable compounds the uncertainty associated with the individual measurement. Hence error propagation is required to obtain a reliable estimate of the uncertainty associated with the compounded variable (i.e. isotope ratio).
A numeric vector containing the propagated uncertainty of the isotope ratio.
# Light isotope count rates `32S` <- c(22318.19, 22151.20, 22429.52, 22143.78, 22574.25, 22455.50) # Heavy isotope count rate `34S` <- c(231.4838, 220.3725, 255.5584, 237.0395, 244.4471, 238.8914) # Propagation stat_SDprop(`34S`, `32S`, "rse")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.