Add calibration standards

iso_add_standards(dt, stds, match_by = default(std_match_by),
  is_std_peak = default(is_std_peak), quiet = default(quiet),
  is_standard = NULL)

Arguments

dt

data table

stds

standards data frame

match_by

what column(s) to match the standards by

is_std_peak

new column that holds information about which ones are standard peaks (i.e. have known isotopic values)

quiet

whether to display (quiet=FALSE) or silence (quiet = TRUE) information messages.

is_standard

renamed to is_std_peak because the naming caused too much confusion, will be removed in future versions, please use is_std_peak instead

Value

data frame with standards data frame merged in and the following information column added:

  • is standard: a logical TRUE/FALSE indicating which data table entry is a standard