Skip to contents

Given an already split list of entries such as c("3 A","B"), this function returns a numeric vector c(3,1) with names c("A","B").

Usage

stoichiometry(formulaList)

Arguments

formulaList

a list of split reaction formula tokens

Value

named numeric vector of stoichiometric coefficients