new_reaction: Create, validate reaction objects

Description Usage Arguments Value Examples

View source: R/reaction.R

Description

Create, validate reaction objects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15

Arguments

x

A reaction object

log_k, value

The base 10 log of the reaction quotient

Value

A reaction object

Examples

1
2
3
r <- new_reaction(list(mol = as_mol(c("H2O", "H+", "H3O+")),
                       coefficient = c(1, 1, -1)))
validate_reaction(r)

paleolimbot/chemr documentation built on Sept. 11, 2021, 2:02 p.m.