mergeform: Combine chemical formulas

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/mergeform.R

Description

Combine chemical formulas

Usage

1
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

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


enviPat documentation built on May 19, 2017, 10:56 p.m.
Search within the enviPat package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.