mergeform: Combine chemical formulas

View source: R/mergeform.R

mergeformR Documentation

Combine chemical formulas

Description

Combine chemical formulas

Usage

mergeform(formula1,formula2)

Arguments

formula1

Vector of first chemical formula(s), character string(s)

formula2

Second chemical formula, single character string

Details

Useful for adduct calculations, check adducts. Chemical formulas must conform to what is described in check_chemform.

Value

Merged chemical formula(s), character string

Author(s)

Martin Loos

See Also

adducts

Examples

formula1<-c("C10[13]C2H10Cl10")
formula2<-c("C2H5Na1")
mergeform(formula1,formula2)

enviPat documentation built on Oct. 21, 2022, 5:06 p.m.