Description Usage Arguments Value See Also Examples
The function provides visual inspection of raw Pb isotope ratio replicates for each sample. Possible outliers can be easily identified.
1 | check_outliers(data, idname)
|
data |
A data.table produced by the function |
idname |
A string identical to a sample name. (i.e. |
The function returns a list containing
intensities
Raw
intensities for the monitored isotopes.
ratios
Raw Pb isotope ratios with flag
= TRUE
if the value falls outside the median ± 2.5 mad range.
Additionally, the function returns a plot with a panel for each Pb isotope ratio showing data points for each replicates. The green line is the median, yellow lines represent median ± 2 mad and red lines median ± 3 mad. Values inside the median ± 2.5 mad range are represented as points, possible outliers as *.
1 2 3 | file.long <- system.file("extdata", "spmnya_2012.csv", package = "pbratios")
spmnya.2012 <- extract_data(file.long, report = "long")
check_outliers(spmnya.2012, "II.B.50m")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.