Description Usage Arguments Value Examples
Create, validate reaction objects
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  | new_reaction(x, log_k = NA_real_)
validate_reaction(x)
log_k(x)
log_k(x) <- value
is_reaction(x)
new_reaction_list(x)
is_reaction_list(x)
validate_reaction_list(x)
 | 
x | 
 A reaction object  | 
log_k, value | 
 The base 10 log of the reaction quotient  | 
A reaction object
1 2 3  | r <- new_reaction(list(mol = as_mol(c("H2O", "H+", "H3O+")),
                       coefficient = c(1, 1, -1)))
validate_reaction(r)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.