rowlist | R Documentation |
A convenience function converting a data.frame()
or a tibble()
.
rowlist(x)
x |
a |
A list()
of length nrow(x)
, with each element itself a
named list()
containing the elements in the corresponding
row.
library(tibble)
(df <- tibble(x=2:1, y=list(list(1:3), list(3:4))))
rowlist(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.