check_outliers: Inspecting Pb isotope ratio replicates.

Description Usage Arguments Value See Also Examples

Description

The function provides visual inspection of raw Pb isotope ratio replicates for each sample. Possible outliers can be easily identified.

Usage

1

Arguments

data

A data.table produced by the function extract.data. The dataset should contain a sample column with sample names, Pb20x columns (x = 6, 7, 8) with the measured intensities for each isotope, Pb20x20y columns storing 20xPb/20yPb raw isotope ratios (x, y = 6, 7, 8).

idname

A string identical to a sample name. (i.e. "P40 I5").

Value

The function returns a list containing

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 *.

See Also

calc_ratios

Examples

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")

andreabz/pbratios documentation built on May 12, 2019, 2:42 a.m.