checkId: Convert from old to new chemostat Ids, and check these Ids

Description Usage Arguments Functions Examples

View source: R/ids.R

Description

Ids are short code that fully identify a carbochemostat sample. It is in the following format: Reactor # [A-Z], reactor or set [0-9], bottle series # = [a-z], cycle [0-9][0-9], and addition or sample [a | s]. In the old format, it was: Reactor or set = [R | A-C], reactor # = [1-4], bottle series # = [I | II | III], addition or sample = [a | s], cycle = [0-9]+

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
checkId(Ids)

reactorId(Ids)

itemNbr(Ids)

bottleId(Ids)

cycleNbr(Ids)

typeId(Ids)

Arguments

Ids

The identifiers (either in old, or in new format).

Functions

Examples

1
2
3
4
5
6
oldIds <- c("R1Is0", "R4Is0", "A1Ia1", "A2IIa4", "B3IIIs5",
            "C4IVs2", "B1Va2", "C4VIs6")
checkId(oldIds)
newIds <- c("A0a00s", "D0a00s", "A1a01a", "B1b04a", "C2c05s",
            "D3d02s", "A2e02a", "D3f06s")
checkId(newIds)

EcoNum/EN-test documentation built on May 5, 2020, 4:34 p.m.