Description Usage Arguments Value Examples
View source: R/as.data.frame.hash.R
Transform a hash into a nrowx2 data.frame
1 2 | ## S3 method for class 'hash'
as.data.frame(x, ..., key = "key", value = "value")
|
x |
hash |
... |
additional arguments to |
key |
string; name for the column of keys (Default: "key"). |
value |
string; name for the column of values (Default: "value") |
a data.frame with as many row as elements in x
and two columns one for the
keys (always character) and value a list column
1 2 3 | h <- hash( a=1, b=1:2, c=1:3)
as.data.frame(h)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.