calculate_concentrations: Calculate the concentrations of the source samples

Description Usage Arguments Value

View source: R/calculations.R

Description

Calculate the concentrations of the source samples

Usage

1
2
3
4
5
6
7
8
9
calculate_concentrations(
  data,
  area,
  volume,
  dilution = 1,
  conc_pattern = "(\\d+)uM",
  standards = category %in% c("USGS-34", "IAEA-NO3"),
  quiet = FALSE
)

Arguments

data

(can be a grouped_by data set)

area

the area column

volume

the volume column

dilution

the dilution column (if any)

conc_pattern

the regular expression pattern to capture the concentration from the standards 'name' colum

standards

selection criterion for the standards to consider

Value

introduces the columns 'conc', 'amount' and the parameters 'p.yield' and 'p.run_size'


sebkopf/isorunN2O documentation built on April 18, 2021, 6:57 p.m.