Description Usage Arguments Value Examples
Data frame reprsentation of a reaction object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## S3 method for class 'reaction'
as.data.frame(x, ...)
## S3 method for class 'reaction'
as_tibble(x, ...)
## S3 method for class 'reaction'
as.matrix(x, ...)
## S3 method for class 'reaction_list'
as_tibble(x, ...)
## S3 method for class 'reaction_list'
as.data.frame(x, ...)
|
x |
A reaction object |
... |
Ignored |
A tibble with one row per molecule in reaction
1 2 3 4 5 | as.data.frame(as_reaction("O2 + 2H2 = 2 H2O"))
library(tibble)
as_tibble(as_reaction("O2 + 2H2 = 2 H2O"))
as.matrix(as_reaction("O2 + 2H2 = 2 H2O"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.