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