Skip to contents

Sensitivity test of diagnostics

Usage

test_sensitivity(
  yield,
  R,
  reps,
  ion1 = "13C",
  ion2 = "12C",
  reference = "VPDB",
  diag = "sens",
  type = "intra",
  save = FALSE,
  mc_cores = 1
)

Arguments

yield

Ionization yield.

R

Isotope ratio.

reps

Repetitions.

ion1

Rare ion.

ion2

Common ion.

reference

Reference standard.

diag

Name of the diagnostics test (either CooksD or Cameca).

type

Type of diagnostics (either "intra"- or "inter"-analysis).

save

Boolean whether to save the data.

mc_cores

Number of cores to use for parallel execution.

Value

A tibble with synthetic data or diagnostic results.