c14_control_material: Control radiocarbon sample materials

View source: R/c14_lab_id.R

c14_control_materialR Documentation

Control radiocarbon sample materials

Description

Standardises a vector of radiocarbon sample materials use a thesaurus.

Usage

c14_control_material(
  x,
  thesaurus = c14_material_thesaurus,
  quiet = FALSE,
  warn_unmatched = TRUE
)

Arguments

x

Vector of radiocarbon sample materials.

thesaurus

Thesaurus to use for sample materials. Defaults to the c14_material_thesaurus thesaraus included in the package.

quiet

Passed to controller::control(). Set to TRUE to suppress messages about replaced values. Default: FALSE.

warn_unmatched

Passed to controller::control(). Set to FALSE to suppress warnings about unmatched values. Default: TRUE.

Value

Vector the same length as x with controlled sample materials.


joeroe/c14 documentation built on Nov. 24, 2024, 11:47 p.m.